{"id":1640,"date":"2022-01-20T17:04:00","date_gmt":"2022-01-20T17:04:00","guid":{"rendered":"https:\/\/www.qworqs.com\/?p=1640"},"modified":"2022-09-30T17:48:04","modified_gmt":"2022-09-30T17:48:04","slug":"webp-is-the-new-png","status":"publish","type":"post","link":"https:\/\/www.voodoo.business\/blog\/2022\/01\/20\/webp-is-the-new-png\/","title":{"rendered":"webP is the new PNG"},"content":{"rendered":"\n<p>Superior in both Lossless compression, and Lossy compression, webp is the new image format by google<\/p>\n\n\n\n<p>Already supported by all web browsers *(that i have tested it with), webP is indeed a promising format, so let us get to compressing our images<\/p>\n\n\n\n<p>I have a big bunch of bitmaps that my scanner spits out (To avoid lossy jpeg compression the scanner&#8217;s driver produces), and i need them converted to lossless webp to save space (the first image I compressed went from 552MB bitmap to 183), that is 33% of the original size<\/p>\n\n\n\n<p>So, under linux, this is how i would convert all BMPs into webp images, I think it is exectly the same on windows<\/p>\n\n\n\n<p>on the command line, the command for compressing one image looks like<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">cwebp -lossless 00.bmp -o 00.webp<\/pre>\n\n\n\n<p>Now, the next step is to run them in a batch, copy the following text into a file and name it with the extension<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Superior in both Lossless compression, and Lossy compression, webp is the new image format by google Already supported by all web browsers *(that i have tested it with), webP is indeed a promising format, so let us get to compressing our images I have a big bunch of bitmaps that my scanner spits out (To [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[136,4,6],"tags":[],"class_list":["post-1640","post","type-post","status-publish","format-standard","hentry","category-image","category-linux","category-multimedia"],"_links":{"self":[{"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/posts\/1640","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/comments?post=1640"}],"version-history":[{"count":3,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/posts\/1640\/revisions"}],"predecessor-version":[{"id":1644,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/posts\/1640\/revisions\/1644"}],"wp:attachment":[{"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/media?parent=1640"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/categories?post=1640"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/tags?post=1640"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}