4 ms·
From my experience hosting a bunch of user-provided images: 1. Strip all metadata but provide downloads of originals somewhere 2. Keep it simple, just use ima
by soamv 10y ago
From my experience hosting a bunch of user-provided images:
1. Strip all metadata but provide downloads of originals somewhere
2. Keep it simple, just use imagemagick's convert to remove profiles (but don't use imagemagick for file type detection)
3. If the image has orientation exif tags, rotate the image to the right orientation (-auto-orient) before removing the exif profile.
4. Don't remove image profile data. Or convert to sRGB first.