blueimp / JavaScript-Load-Image

Load images provided as File or Blob objects or via URL. Retrieve an optionally scaled, cropped or rotated HTML img or canvas element. Use methods to parse image metadata to extract IPTC and Exif tags as well as embedded thumbnail images, to overwrite the Exif Orientation value and to restore the complete image header after resizing.
https://blueimp.github.io/JavaScript-Load-Image/
MIT License
4.45k stars 924 forks source link

Upload Problem to this specific photo #56

Closed jayturla closed 10 years ago

jayturla commented 10 years ago

Hi,

Ive been trying to upload the attached image it seems there is white gap space in the bottom part of the image. Ive try other image but they seems to be ok.

I used the plugins in my web app and its work fine except for the attach photo. And i also noticed that that there is part of the photo is missing after uploading.

Here is the screen shot whitespace

Sample Photo: 013

Just want to ask what is the reason why is it happen in this particular image.

Thanks in advance

blueimp commented 10 years ago

Thanks for your report. This behaviour was due to an invalid EXIF orientation tag. I've released a version which ignores such invalid values.

jayturla commented 10 years ago

Cool, your fast. thanks lot..