[{"data":1,"prerenderedAt":153},["ShallowReactive",2],{"blog-post-imagemagick-convert-webp-to-png":3,"recent-posts":89},{"id":4,"uid":5,"url":6,"type":7,"href":8,"tags":9,"first_publication_date":10,"last_publication_date":11,"slugs":12,"linked_documents":14,"lang":15,"alternate_languages":16,"data":17},"av3eRxIAACcA6g-1","imagemagick-convert-webp-to-png",null,"blog_posts","https:\u002F\u002Fmarks-personal-website.cdn.prismic.io\u002Fapi\u002Fv2\u002Fdocuments\u002Fsearch?ref=awVEKhIAACgAG_eO&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22av3eRxIAACcA6g-1%22%29+%5D%5D",[],"2026-11-23T22:45:19+0000","2026-11-24T08:00:31+0000",[13],"imagemagick-how-to-convert-webp-to-png",[],"en-us",[],{"title":18,"date":24,"description":25,"image":30,"content":40},[19],{"type":20,"text":21,"spans":22,"direction":23},"heading1","ImageMagick: How to Convert WebP to PNG",[],"ltr","2026-11-23",[26],{"type":27,"text":28,"spans":29,"direction":23},"heading2","Learn how to convert a WebP image to PNG using ImageMagick",[],{"dimensions":31,"alt":21,"copyright":6,"url":34,"id":35,"edit":36},{"width":32,"height":33},1280,720,"https:\u002F\u002Fimages.prismic.io\u002Fmarks-personal-website\u002FwFmTWeDjOUSFYlM-_imagemagick-convert-webp-to-png.png?auto=format,compress","wFmTWeDjOUSFYlM-",{"x":37,"y":37,"zoom":38,"background":39},0,1,"transparent",[41,45,49,52,55,58,61,64,67,70,86],{"type":42,"text":43,"spans":44,"direction":23},"paragraph","Before we start, make sure you have ImageMagick installed on your computer and your WebP image ready in a folder. If you don't have it yet, run this command:",[],{"type":46,"text":47,"spans":48,"direction":23},"preformatted","brew install imagemagick",[],{"type":42,"text":50,"spans":51,"direction":23},"First, open your terminal and navigate to the folder that has your image. To convert it to a PNG, run this command:",[],{"type":46,"text":53,"spans":54,"direction":23},"magick input.webp output.png",[],{"type":42,"text":56,"spans":57,"direction":23},"Just remember to replace \u003Ccode>input.webp\u003C\u002Fcode> with your actual filename, and \u003Ccode>output.png\u003C\u002Fcode> with the name you want for the new file. This finishes almost instantly, and your original \u003Ccode>.webp\u003C\u002Fcode> file stays right where it is.",[],{"type":42,"text":59,"spans":60,"direction":23},"To convert a whole folder at once, use \u003Ccode>mogrify\u003C\u002Fcode> like this:",[],{"type":46,"text":62,"spans":63,"direction":23},"magick mogrify -format png *.webp",[],{"type":42,"text":65,"spans":66,"direction":23},"The \u003Ccode>-format png\u003C\u002Fcode> option sets the new file type, and \u003Ccode>*\u003C\u002Fcode> picks every \u003Ccode>.webp\u003C\u002Fcode> file in the folder. Each new \u003Ccode>.png\u003C\u002Fcode> is saved right next to its original. Don't worry if you don't see a success message, the command finishes quietly.",[],{"type":42,"text":68,"spans":69,"direction":23},"To make sure everything worked, run \u003Ccode>open output.png\u003C\u002Fcode> and check that the image looks the same.",[],{"type":71,"oembed":72},"embed",{"embed_url":73,"type":74,"version":75,"title":21,"author_name":76,"author_url":77,"provider_name":78,"provider_url":79,"thumbnail_url":80,"thumbnail_width":81,"thumbnail_height":82,"html":83,"height":84,"width":85},"https:\u002F\u002Fyoutu.be\u002F1hw6npko6oM","video","1.0","markster","https:\u002F\u002Fwww.youtube.com\u002F@markster1904","YouTube","https:\u002F\u002Fwww.youtube.com\u002F","https:\u002F\u002Fi.ytimg.com\u002Fvi\u002F1hw6npko6oM\u002Fhqdefault.jpg",480,360,"\u003Ciframe width=\"200\" height=\"113\" src=\"https:\u002F\u002Fwww.youtube.com\u002Fembed\u002F1hw6npko6oM?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen title=\"ImageMagick: How to Convert WebP to PNG\">\u003C\u002Fiframe>",113,200,{"type":42,"text":87,"spans":88,"direction":23},"One more tip: add \u003Ccode>-path .\u002Foutput_folder\u003C\u002Fcode> before \u003Ccode>-format\u003C\u002Fcode> if you want the converted files saved in a separate folder.",[],{"results":90,"page":38,"results_per_page":151,"results_size":151,"total_results_size":152,"total_pages":38},[91,111,131],{"id":92,"uid":93,"url":6,"type":7,"href":94,"tags":95,"first_publication_date":10,"last_publication_date":96,"slugs":97,"linked_documents":99,"lang":15,"alternate_languages":100,"data":101},"av3eSRIAACgA6g-_","imagemagick-change-image-dpi","https:\u002F\u002Fmarks-personal-website.cdn.prismic.io\u002Fapi\u002Fv2\u002Fdocuments\u002Fsearch?ref=awVEKhIAACgAG_eO&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22av3eSRIAACgA6g-_%22%29+%5D%5D",[],"2026-11-24T08:00:42+0000",[98],"imagemagick-how-to-change-image-dpi",[],[],{"image":102,"title":108},{"dimensions":103,"alt":104,"copyright":6,"url":105,"id":106,"edit":107},{"width":32,"height":33},"ImageMagick: How to Change Image DPI","https:\u002F\u002Fimages.prismic.io\u002Fmarks-personal-website\u002FsN99ATT3ChzvJGRH_imagemagick-change-image-dpi.png?auto=format,compress","sN99ATT3ChzvJGRH",{"x":37,"y":37,"zoom":38,"background":39},[109],{"type":20,"text":104,"spans":110,"direction":23},[],{"id":112,"uid":113,"url":6,"type":7,"href":114,"tags":115,"first_publication_date":10,"last_publication_date":116,"slugs":117,"linked_documents":119,"lang":15,"alternate_languages":120,"data":121},"av3eTBIAACgA6g_P","imagemagick-create-sprite-sheet","https:\u002F\u002Fmarks-personal-website.cdn.prismic.io\u002Fapi\u002Fv2\u002Fdocuments\u002Fsearch?ref=awVEKhIAACgAG_eO&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22av3eTBIAACgA6g_P%22%29+%5D%5D",[],"2026-11-24T08:00:26+0000",[118],"imagemagick-how-to-create-a-sprite-sheet",[],[],{"image":122,"title":128},{"dimensions":123,"alt":124,"copyright":6,"url":125,"id":126,"edit":127},{"width":32,"height":33},"ImageMagick: How to Create a Sprite Sheet","https:\u002F\u002Fimages.prismic.io\u002Fmarks-personal-website\u002FU1LrFvpqX990yCxy_imagemagick-create-sprite-sheet.png?auto=format,compress","U1LrFvpqX990yCxy",{"x":37,"y":37,"zoom":38,"background":39},[129],{"type":20,"text":124,"spans":130,"direction":23},[],{"id":132,"uid":133,"url":6,"type":7,"href":134,"tags":135,"first_publication_date":10,"last_publication_date":136,"slugs":137,"linked_documents":139,"lang":15,"alternate_languages":140,"data":141},"av3eTRIAACgA6g_V","imagemagick-strip-image-metadata","https:\u002F\u002Fmarks-personal-website.cdn.prismic.io\u002Fapi\u002Fv2\u002Fdocuments\u002Fsearch?ref=awVEKhIAACgAG_eO&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22av3eTRIAACgA6g_V%22%29+%5D%5D",[],"2026-11-24T08:00:20+0000",[138],"imagemagick-how-to-strip-metadata-from-an-image",[],[],{"image":142,"title":148},{"dimensions":143,"alt":144,"copyright":6,"url":145,"id":146,"edit":147},{"width":32,"height":33},"ImageMagick: How to Strip Metadata from an Image","https:\u002F\u002Fimages.prismic.io\u002Fmarks-personal-website\u002FggNmYjC60Z_XNTpc_imagemagick-strip-image-metadata.png?auto=format,compress","ggNmYjC60Z_XNTpc",{"x":37,"y":37,"zoom":38,"background":39},[149],{"type":20,"text":144,"spans":150,"direction":23},[],3,84,1795515044763]