I came across a weird result for a file upload / image analyzer I'm writing. When a person uploads the file, I check it's color space, density, file size etc. Nothing major. However, I get a strange error for JPEGs that are created on a mac (photoshop), and then uploaded by a PC.
If I create the jpeg, and upload it - no error
If my co-worker creates the image and uploads it - no error
if I create the image and send to my coworker and he uploads it - no error
if I use the image he created, I get the following error:
Code: Select all
identity: 450: Not a JPEG file: starts with 0x00 0x0b
thanks!