Closed pharindoko closed 6 years ago
@pharindoko I've tested with different format images and seems all ok. Can you share with us your image?
Hey,
image you can see has been made with an iphone. It makes no difference if the photo is directly taken or if I use a photo from the photo gallery.
Purpose: Target is to have an image gallery as mobile web app and these photos can be uploaded.
@pharindoko Finally I've be able to test on my mobile and compressImage doesn't work correctly on mobile devices and portrait images. I think the problem is the orientation of the photo. If you compare your photos, you can see that width and height are crossed.
Yeah that sounds reasonable. @edezacas thanks for being helpful!
Fixed image orientation for mobile devices. Now compression method works fine. Close issue.
Hi,
first of all thanks for this library: It`s easy to use. second: my issue :)
Usage
I`m using it like this for an image upload function on the mobile phone:
Issue
the image gets a black part on the right side. So it seems like the width is incorrect This does only happen if the width is smaller than the height.