How to remove macbinary from jpg for Windows PC

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
cpmauriello

How to remove macbinary from jpg for Windows PC

Post by cpmauriello »

Hi
I have some images that appear to be corrupted on a Windows PC after being transferred from a Mac. I've found reasons on the net why jpg may fail to open on some Windows applications but I've ruled most of them out. These images were tranferred using an FTP program on the Mac. My research showed that something called a Mac 'fileinfo header or macbinary or resource fork' might be inserted at the head of the image by the FTP program .

I can see 128 bytes in a hex editor and it is removed if I load and then save the image in Photoshop. Also the header is strpped if I email one of these images using MS outlook. I'd like to know if ImageMagick can be used to detect and strip this 128 bytes.

Any help would be appreciated
Thanks
Post Reply