{"id":146,"date":"2012-03-29T09:18:17","date_gmt":"2012-03-29T09:18:17","guid":{"rendered":"http:\/\/www.w3.org\/community\/respimg\/?p=146"},"modified":"2012-03-29T09:35:02","modified_gmt":"2012-03-29T09:35:02","slug":"while-were-here-shall-we-fix-file-format-issues","status":"publish","type":"post","link":"https:\/\/www.w3.org\/community\/respimg\/2012\/03\/29\/while-were-here-shall-we-fix-file-format-issues\/","title":{"rendered":"While we&#8217;re here, shall we fix file format issues?"},"content":{"rendered":"<p><a href=\"http:\/\/code.google.com\/speed\/webp\/\" target=\"_blank\" rel=\"nofollow\">WebP<\/a> is awesome, far better compression than JPG or PNG etc. Modern browsers support it. But, we can&#8217;t use it at all until <em>everyone<\/em> uses a browser that supports it. Because there&#8217;s no way in HTML to do fallbacks for non-supported image formats.<\/p>\n<p>Remember when we wanted to use Alpha PNGs but it took years and years because we couldn&#8217;t rely on browsers implementing it?<\/p>\n<p>This is an opportunity for us to define a method whereby &lt;picture&gt; could take a selection of resources to use depending on browser capabilty. I.e., if WebP is supported request that file, if not then fall back to a JPG or PNG, as set in the tag.<\/p>\n<p>This would perhaps speed up adoption of WebP, and more importantly allow for future formats to be\u00a0developed\u00a0and become usable without the wait for every browser to implement whatever new formats appear and then for the public to all use such browsers.<\/p>\n<p>What do you think? Should we also try to tackle this &#8220;short-sighted&#8221; file-format behaviour? I would like to be able to save 20%+ on all my images by using WebP sometime before 2020&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WebP is awesome, far better compression than JPG or PNG etc. Modern browsers support it. But, we can&#8217;t use it at all until everyone uses a browser that supports it. Because there&#8217;s no way in HTML to do fallbacks for &hellip; <a href=\"https:\/\/www.w3.org\/community\/respimg\/2012\/03\/29\/while-were-here-shall-we-fix-file-format-issues\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1289,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_s2mail":"yes","footnotes":""},"categories":[1],"tags":[],"class_list":["post-146","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.w3.org\/community\/respimg\/wp-json\/wp\/v2\/posts\/146","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.w3.org\/community\/respimg\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.w3.org\/community\/respimg\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.w3.org\/community\/respimg\/wp-json\/wp\/v2\/users\/1289"}],"replies":[{"embeddable":true,"href":"https:\/\/www.w3.org\/community\/respimg\/wp-json\/wp\/v2\/comments?post=146"}],"version-history":[{"count":4,"href":"https:\/\/www.w3.org\/community\/respimg\/wp-json\/wp\/v2\/posts\/146\/revisions"}],"predecessor-version":[{"id":150,"href":"https:\/\/www.w3.org\/community\/respimg\/wp-json\/wp\/v2\/posts\/146\/revisions\/150"}],"wp:attachment":[{"href":"https:\/\/www.w3.org\/community\/respimg\/wp-json\/wp\/v2\/media?parent=146"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.w3.org\/community\/respimg\/wp-json\/wp\/v2\/categories?post=146"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.w3.org\/community\/respimg\/wp-json\/wp\/v2\/tags?post=146"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}