{"id":733,"date":"2024-05-07T11:42:22","date_gmt":"2024-05-07T11:42:22","guid":{"rendered":"https:\/\/kb.shortpixel.com\/docs\/settings-convert-png-images-to-jpeg\/"},"modified":"2025-08-27T08:44:45","modified_gmt":"2025-08-27T08:44:45","password":"","slug":"settings-convert-png-images-to-jpeg","status":"publish","type":"docs","link":"https:\/\/kb.shortpixel.com\/knowledge-base\/article\/settings-convert-png-images-to-jpeg\/","title":{"rendered":"Settings &#8211; Convert PNG images to JPEG"},"content":{"rendered":"\n<p>This option makes ShortPixel Image Optimizer convert all PNG images that <strong>don&#8217;t <\/strong>have transparent pixels to JPEG. This can dramatically reduce the file size, especially if you have camera pictures that are saved in PNG format. In addition, the plugin will also search for references of the image in posts and pages, and replace them (the filenames remain the same; only the extension is changed).\u00a0There&#8217;s three important things to take into account, though:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The image will <strong>not<\/strong> be converted if the resulting JPEG is larger than the original PNG.<\/li>\n\n\n\n<li>If the original image contains even a single transparent pixel, it will <strong>not<\/strong> be converted.<\/li>\n\n\n\n<li>You can always force the conversion for transparent images by enabling the option called &#8220;Force conversion of transparent images&#8221;. Please note that this option only becomes available if the first one is enabled.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"130\" src=\"https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250304_093145-1024x130.jpg\" alt=\"\" class=\"wp-image-1765\" srcset=\"https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250304_093145-1024x130.jpg 1024w, https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250304_093145-300x38.jpg 300w, https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250304_093145-768x98.jpg 768w, https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250304_093145-1536x196.jpg 1536w, https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250304_093145-360x46.jpg 360w, https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250304_093145.jpg 1775w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>To learn more about why images may not be converted to JPG, please check this article: <a href=\"https:\/\/shortpixel.com\/knowledge-base\/article\/why-arent-the-pngs-converted-to-jpegs-even-when-i-choose-this-option\/\" target=\"_blank\" rel=\"noreferrer noopener\">Why aren&#8217;t the PNGs converted to JPEGs even when I choose this option?<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This option makes ShortPixel Image Optimizer convert all PNG images that don&#8217;t have transparent pixels to JPEG. This can dramatically reduce the file size, especially if you have camera pictures that are saved in PNG format. In addition, the plugin will also search for references of the image in posts and pages, and replace them [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[37],"glossaries":[],"doc_tag":[],"class_list":["post-733","docs","type-docs","status-publish","hentry","doc_category-shortpixel-image-optimizer"],"blocksy_meta":[],"year_month":"2026-04","word_count":167,"total_views":"1769","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"admin","author_nicename":"admin_mdli53m5","author_url":"https:\/\/kb.shortpixel.com\/author\/admin_mdli53m5\/"},"doc_category_info":[{"term_name":"ShortPixel Image Optimizer","term_url":"https:\/\/kb.shortpixel.com\/knowledge-base\/category\/shortpixel-image-optimizer\/"}],"doc_tag_info":[],"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/docs\/733","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/comments?post=733"}],"version-history":[{"count":2,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/docs\/733\/revisions"}],"predecessor-version":[{"id":1766,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/docs\/733\/revisions\/1766"}],"wp:attachment":[{"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/media?parent=733"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/doc_category?post=733"},{"taxonomy":"glossaries","embeddable":true,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/glossaries?post=733"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/doc_tag?post=733"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}