deakjahn / crop_image

An image cropper widget. Supports mobile, web and desktop.
https://pub.dev/packages/crop_image
MIT License
56 stars 31 forks source link

Image to crop has different height than original #14

Closed florisdipt closed 1 year ago

florisdipt commented 1 year ago

For some images the height of the crop utility differs from the height of the image that is supplied.

Example: image

When selecting a part of the image horizontal cropping works fine but vertical cropping results in cutting off a percentage of height that is shown. So to me it looks like the vertical cropping works just fine but the height is drawn incorrectly: Example of crop region: image Output: image

Currently working on a feature for my application that will go live after Issue #10 (https://github.com/flutter/flutter/issues/103803) fix lands on stable thus I am using latest master branch for development

Reproduction image https://picsum.photos/id/237/400/300

More info below image

florisdipt commented 1 year ago

I discussed with my product owner and we decided to prioritise cropping as a nice to have. thus dropping the feature for now. This means I will not be opening a PR in the near future myself.