{"id":108,"date":"2004-01-10T11:13:14","date_gmt":"2004-01-10T15:13:14","guid":{"rendered":"http:\/\/scruss.com\/blog\/?p=108"},"modified":"2004-01-10T11:13:14","modified_gmt":"2004-01-10T15:13:14","slug":"png-graphics-on-movable-type","status":"publish","type":"post","link":"https:\/\/scruss.com\/blog\/2004\/01\/10\/png-graphics-on-movable-type\/","title":{"rendered":"PNG graphics on Movable Type"},"content":{"rendered":"<p>My host doesn&#8217;t support the graphics library that Movable Type prefers for making thumbnail images. <a href=\"http:\/\/www.movabletype.org\/docs\/mtmanual_troubleshooting.html#my%20host%20doesn't%20have%20image::magick\">Six Apart shows you how to use NetPBM<\/a>, which is supported.<\/p>\n<p>I also discovered that the version I&#8217;m running doesn&#8217;t do PNG graphic handling. That&#8217;s easily fixed. In <tt>lib\/MT\/Image.pm<\/tt>, change the line:<br \/>\n<code>my %Types = (jpg => 'jpeg', gif => 'gif');<\/code><br \/>\nto:<br \/>\n<code>my %Types = (jpg => 'jpeg', gif => 'gif', png => 'png');<\/code><\/p>\n<p>As a Perl guy, I&#8217;m mildly horrified with the way this code works, but it won&#8217;t bite most people.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>My host doesn&#8217;t support the graphics library that Movable Type prefers for making thumbnail images. Six Apart shows you how to use NetPBM, which is supported. I also discovered that the version I&#8217;m running doesn&#8217;t do PNG graphic handling. That&#8217;s easily fixed. In lib\/MT\/Image.pm, change the line: my %Types = (jpg => &#8216;jpeg&#8217;, gif => [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[163,1694],"class_list":["post-108","post","type-post","status-publish","format-standard","hentry","category-general","tag-movable-type","tag-png"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pQNZZ-1K","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts\/108","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/comments?post=108"}],"version-history":[{"count":0,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts\/108\/revisions"}],"wp:attachment":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/media?parent=108"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/categories?post=108"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/tags?post=108"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}