[{"data":1,"prerenderedAt":132},["ShallowReactive",2],{"blog-post-imagemagick-strip-image-metadata":3,"recent-posts":86},{"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},"av3eTRIAACgA6g_V","imagemagick-strip-image-metadata",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+%22av3eTRIAACgA6g_V%22%29+%5D%5D",[],"2026-11-23T22:45:19+0000","2026-11-24T08:00:20+0000",[13],"imagemagick-how-to-strip-metadata-from-an-image",[],"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 Strip Metadata from an Image",[],"ltr","2026-11-23",[26],{"type":27,"text":28,"spans":29,"direction":23},"heading2","Learn how to strip metadata like GPS and EXIF from an image 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\u002FggNmYjC60Z_XNTpc_imagemagick-strip-image-metadata.png?auto=format,compress","ggNmYjC60Z_XNTpc",{"x":37,"y":37,"zoom":38,"background":39},0,1,"transparent",[41,45,49,52,55,58,61,64,67,83],{"type":42,"text":43,"spans":44,"direction":23},"paragraph","Before we start, make sure you have ImageMagick installed on your computer and your photo 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 photo. To see what's hiding inside it, run this command:",[],{"type":46,"text":53,"spans":54,"direction":23},"magick identify -verbose input.jpg | grep -i gps",[],{"type":42,"text":56,"spans":57,"direction":23},"If your photo has a location, you'll see the GPS coordinates. To remove it, run this command:",[],{"type":46,"text":59,"spans":60,"direction":23},"magick input.jpg -strip output.jpg",[],{"type":42,"text":62,"spans":63,"direction":23},"Just remember to replace \u003Ccode>input.jpg\u003C\u002Fcode> with your actual filename. The \u003Ccode>-strip\u003C\u002Fcode> option removes the EXIF data, the GPS coordinates, the camera details, the comments and the embedded color profile. Don't worry if you don't see a success message, the command finishes quietly.",[],{"type":42,"text":65,"spans":66,"direction":23},"To make sure everything worked, run \u003Ccode>magick identify -verbose output.jpg | grep -i gps\u003C\u002Fcode>. If nothing comes back, the data is gone.",[],{"type":68,"oembed":69},"embed",{"embed_url":70,"type":71,"version":72,"title":21,"author_name":73,"author_url":74,"provider_name":75,"provider_url":76,"thumbnail_url":77,"thumbnail_width":78,"thumbnail_height":79,"html":80,"height":81,"width":82},"https:\u002F\u002Fyoutu.be\u002FrgB28_wHRGk","video","1.0","markster","https:\u002F\u002Fwww.youtube.com\u002F@markster1904","YouTube","https:\u002F\u002Fwww.youtube.com\u002F","https:\u002F\u002Fi.ytimg.com\u002Fvi\u002FrgB28_wHRGk\u002Fhqdefault.jpg",480,360,"\u003Ciframe width=\"200\" height=\"113\" src=\"https:\u002F\u002Fwww.youtube.com\u002Fembed\u002FrgB28_wHRGk?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 Strip Metadata from an Image\">\u003C\u002Fiframe>",113,200,{"type":42,"text":84,"spans":85,"direction":23},"One more tip: to clean the original file instead of making a copy, use \u003Ccode>magick mogrify -strip input.jpg\u003C\u002Fcode>. It overwrites the file, so keep a backup if you need the metadata later.",[],{"results":87,"page":38,"results_per_page":130,"results_size":130,"total_results_size":131,"total_pages":38},[88,108,128],{"id":89,"uid":90,"url":6,"type":7,"href":91,"tags":92,"first_publication_date":10,"last_publication_date":93,"slugs":94,"linked_documents":96,"lang":15,"alternate_languages":97,"data":98},"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",[95],"imagemagick-how-to-change-image-dpi",[],[],{"image":99,"title":105},{"dimensions":100,"alt":101,"copyright":6,"url":102,"id":103,"edit":104},{"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},[106],{"type":20,"text":101,"spans":107,"direction":23},[],{"id":109,"uid":110,"url":6,"type":7,"href":111,"tags":112,"first_publication_date":10,"last_publication_date":113,"slugs":114,"linked_documents":116,"lang":15,"alternate_languages":117,"data":118},"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",[115],"imagemagick-how-to-create-a-sprite-sheet",[],[],{"image":119,"title":125},{"dimensions":120,"alt":121,"copyright":6,"url":122,"id":123,"edit":124},{"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},[126],{"type":20,"text":121,"spans":127,"direction":23},[],{"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":129},{"image":30,"title":18},3,84,1795515044763]