File Format Corruption in newer Adobe generated jpg

Started by mindeater, December 07, 2017, 09:43:08 PM

Previous topic - Next topic

mindeater

Hi,
I'm very lost,

My Node Windows Application downloads images and caches them locally for display, it's usually fine but recent Adobe produced jpg's are corrupted when being written to the file system.  Investigations have lead me to some kind of EXIF tag being a problem

If I use imageMagik 7.0.7-11 on OS X via Node gm to remove the Profile data it will not be corrupted by my system, if I use Exiftool 10.65 on OS X to strip the EXIF using exiftool -all = image.jpg The data appears Stripped but the file is still corrupted by my system.

So the question is, which part of the Image data is breaking my Node application file write and how do I remove it?

Phil Harvey

Try adding -adobe:all to your stripping command to also remove the APP14 color information.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).