Open CodersBrothers opened 11 years ago
Not its the same that: ERROR: [Error: The given image is not a JPEG and thus unsupported right now.]
When this error occurred the server don't stop, no there are fatal error.
I used this picture: http://www.exif.org/samples/canon-ixus.jpg Its a canon image from here: http://www.exif.org/samples.html (the first example)
Maybe we need a markernote for canon? http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/Canon.html
Dupe of #19? makernotes appear to be fixed in 0.3.4+. You could test from current github checkout to confirm.
As @stennie suggested, please check again with the latest version of node-exif which is 0.3.6 and available from npm as well.
In some images can't get exif, and return this in terminal: ERROR: [TypeError: Object # has no method 'extractMakernotes']
ERROR: [Error: No Exif segment found in the given image.]
This is my code: 1. Get exif, 2. Save in mongodb, 3. remove file, 4. return info from mongodb. Exif make problems in some images.