scottcheng / cropit

A "customizable crop and zoom" jQuery plugin.
http://scottcheng.github.io/cropit/
MIT License
874 stars 304 forks source link

If I crop and save an image without editing, the height that arrives to the server is smaller than the original #101

Open lube8uy opened 9 years ago

lube8uy commented 9 years ago

Hello,

I'm using the default options on cropit and "originalSize" on the export options, however, when I "crop and save" an image without editing it, it seems like the cropper is modifying the height of the asset. For instance a 1200_430 pixel image transforms into a 1200_413 image. Is there a way to avoid this or could you tell me why this happen?

Thanks.

scottcheng commented 9 years ago

One possible reason is that your preview area's height to width ratio is 1200:413, and cropit is keeping that ratio when exporting image.