{"id":1571,"date":"2013-01-18T15:50:59","date_gmt":"2013-01-18T13:50:59","guid":{"rendered":"http:\/\/9v.lt\/blog\/?p=1571"},"modified":"2022-01-19T08:34:41","modified_gmt":"2022-01-19T06:34:41","slug":"context-menu-utility-to-compress-jpeg-files","status":"publish","type":"post","link":"http:\/\/9v.lt\/blog\/context-menu-utility-to-compress-jpeg-files\/","title":{"rendered":"Context-menu utility to compress JPEG files"},"content":{"rendered":"<p>I was in a need of such a thing and was determined to produce my own version, but then I found out that the C++ image manipulation lib &#8220;<em>ImageMagick<\/em>&#8221; has tools for that already. So I took the utility <strong>convert.exe<\/strong> and made a batch script to do what I need it to do.<br \/>\n<!--more--><br \/>\nDownload the archive below, extract it to a Windows folder and run <strong>convertimg.bat<\/strong> (by double clicking), when asked press &#8220;<em>I<\/em>&#8221; to install it into registry (for the context menu).<br \/>\nSimple as that and it works great.<br \/>\nNow whenever you will right-click a JPEG file, a context menu entry &#8220;<strong>Compress<\/strong>&#8221; will appear.<\/p>\n<p>If you understand a bit of batch, you can modify the script as you please.<br \/>\nDefault compression ratio is 60% (40% less quality). It replaces the source file.<\/p>\n<p>Download: <a href=\"http:\/\/9v.lt\/projects\/other\/jpeg_converter.zip\" target=\"_blank\" rel=\"noopener\">jpeg_converter.zip<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was in a need of such a thing and was determined to produce my<\/p>\n","protected":false},"author":2,"featured_media":1643,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,750],"tags":[855,854,853,852],"class_list":["post-1571","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-projects","category-software-projects","tag-compress","tag-jpeg","tag-jpg","tag-utility"],"_links":{"self":[{"href":"http:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/posts\/1571","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/comments?post=1571"}],"version-history":[{"count":0,"href":"http:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/posts\/1571\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/media\/1643"}],"wp:attachment":[{"href":"http:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/media?parent=1571"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/categories?post=1571"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/tags?post=1571"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}