SmartToolFactory / Compose-Cropper

🚀🏞✂️ Image cropper that can crop with static, dynamic crop behavior, can use customizable shapes, vectors, and other png files as mask to crop with various customizations
MIT License
331 stars 47 forks source link

Add offset for picture. #36

Open nullsafety opened 6 months ago

nullsafety commented 6 months ago

My question is similar to https://github.com/SmartToolFactory/Compose-Cropper/issues/4 but I need to solve it by adjusting the offset for a picture, not by removing the offset of an overlay. Is this possible?

It might look something like this:

Снимок экрана 2023-12-20 в 00 20 50
nullsafety commented 3 months ago

Any ideas or suggestions? I need it because I should implement functionality where user can crop vertical picture and they can put whole height or width of picture inside the crop area (if aspect ratio of picture not the same as crop area) but I should use static way for the crop border and dynamic picture under it.