{"id":178,"date":"2019-09-13T21:55:25","date_gmt":"2019-09-14T04:55:25","guid":{"rendered":"http:\/\/www.trafficsign.us\/news\/?p=178"},"modified":"2019-09-13T21:55:27","modified_gmt":"2019-09-14T04:55:27","slug":"pngie-wingie","status":"publish","type":"post","link":"http:\/\/www.trafficsign.us\/news\/pngie-wingie\/","title":{"rendered":"PNGie-Wingie"},"content":{"rendered":"\n<p>Since the <a rel=\"noreferrer noopener\" aria-label=\"Manual of Traffic Signs (opens in a new tab)\" href=\"http:\/\/www.trafficsign.us\" target=\"_blank\">Manual of Traffic Signs<\/a> site was inaugurated as the first major website devoted to US road and highway signing back in 1996, I&#8217;ve used .gif format files for many of the sign images, as that format renders simple color images very well and offers high compression with zero loss.<\/p>\n\n\n\n<p>However, as time has wandered onward, the .gif file format has become somewhat of a niche item, now used mostly for self-playing animations. All browsers still support rendering of .gifs, but some websites (<em>I&#8217;m looking at <strong>you<\/strong>, Facebook<\/em>) assume that all .gif files are movie files and can&#8217;t handle simple viewing and uploading without screwups.<\/p>\n\n\n\n<p>But what finally moved me to belated action is my current work on D series guide signs (<em>note: don&#8217;t bother looking &#8211; nothing new is posted yet for Ds &#8211; coming soon in due time<\/em>). When I&#8217;ve been creating the large bitmap graphics for the D1s, I just can&#8217;t get smaller white on green text to look right in a 256-color palette, but it looks fine when exported as a 32-bit .png file.<\/p>\n\n\n\n<p>But my OCD won&#8217;t allow me to have just the D series sign bitmaps in .png format and all the rest in .gif. Nope, just won&#8217;t do. <\/p>\n\n\n\n<p>So, thanks to the twin miracles of batch conversion in Graphic Converter and fast find\/replace in the HTML files, I&#8217;ve updated all the recently-revised sign pages to now use .png files for the big bitmaps. This shouldn&#8217;t affect the viewing experience, except that some browsers may render the 32-bit files with less jaggieness (yay).<br><\/p>\n\n\n\n<p>But&#8230; I&#8217;m still keeping all the small sign thumbnail images (50 x 50, 100 x 100) in .gif format. Because quite a few of those are indeed animated, and I don&#8217;t want to ruin the fun.<\/p>\n\n\n\n<p>Hoping for no bugs, and enjoy the new graphics.<br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Since the Manual of Traffic Signs site was inaugurated as the first major website devoted to US road and highway signing back in 1996, I&#8217;ve used .gif format files for many of the sign images, as that format renders simple &hellip; <a href=\"http:\/\/www.trafficsign.us\/news\/pngie-wingie\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"_links":{"self":[{"href":"http:\/\/www.trafficsign.us\/news\/wp-json\/wp\/v2\/posts\/178"}],"collection":[{"href":"http:\/\/www.trafficsign.us\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.trafficsign.us\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.trafficsign.us\/news\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.trafficsign.us\/news\/wp-json\/wp\/v2\/comments?post=178"}],"version-history":[{"count":1,"href":"http:\/\/www.trafficsign.us\/news\/wp-json\/wp\/v2\/posts\/178\/revisions"}],"predecessor-version":[{"id":179,"href":"http:\/\/www.trafficsign.us\/news\/wp-json\/wp\/v2\/posts\/178\/revisions\/179"}],"wp:attachment":[{"href":"http:\/\/www.trafficsign.us\/news\/wp-json\/wp\/v2\/media?parent=178"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.trafficsign.us\/news\/wp-json\/wp\/v2\/categories?post=178"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.trafficsign.us\/news\/wp-json\/wp\/v2\/tags?post=178"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}