News for hackers. Stuff that matters.
Re:Ask HN: Best Self-Hosted, Server-Side Image Optimization ... by brightball on Thursday June 22, 2017 @12:36PM (#14613444)
Need to use the thumbnail flag with imagemagick. Gives it a huge performance boost and strips the metadata out of the file.
Re:Ask HN: Best Self-Hosted, Server-Side Image Optimization ... by r1ch on Thursday June 22, 2017 @12:47PM (#14613509)
Be very careful with this one!

-thumbnail causes ImageMagick to embed "freedesktop.org Thumbnail Managing Standard" metadata into the output image. Such metadata includes the full local path (!). I found this by accident on our wiki (Mediawiki, which uses ImageMagick).

https://phabricator.wikimedia.org/T108616

Re:Ask HN: Best Self-Hosted, Server-Side Image Optimization ... by brightball on Thursday June 22, 2017 @01:31PM (#14613853)
Was not aware of that....
Re:Ask HN: Best Self-Hosted, Server-Side Image Optimization ... by tobltobs on Thursday June 22, 2017 @12:47PM (#14613518)
The thumbnail flag doesn't change the way Imagemagick creates a pixelmap of the complete image.