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

Remove Offset in Static crop type #4

Closed ceyton closed 1 year ago

ceyton commented 1 year ago

Is it possible to remove the Offset in the Static crop type?

image

SmartToolFactory commented 1 year ago

Other croppers have this offset too but i can add a flag to remove offset. Also i think i should adjust zoom to be less than 1f match drawing area to be able to crop with no offset on any sides if needed.

ceyton commented 1 year ago

Other croppers have this offset too but i can add a flag to remove offset. Also i think i should adjust zoom to be less than 1f match drawing area to be able to crop with no offset on any sides if needed.

in most cases, I think of, I don't think that scale should be less than 1f, regarding the offset I was trying to implement Instagram-like cropping this is why it would really be nice to have it without the offset 👍

SmartToolFactory commented 1 year ago

Overlay ratio option in settings menu can scale overlay between 50 and 100%.

overlay_ratio