react-image-crop icon indicating copy to clipboard operation
react-image-crop copied to clipboard

Maximum Scale Out to produce only complete image without any transparent parts added to result

Open nrvikas opened this issue 7 months ago • 4 comments

Hello!

We want to avoid a situation where the image can be scaled out to an extent where it starts producing transparent parts. We want the scale out to stop at the maximum point where the complete picture is present and never goes to capture out of bounds parts of an image. The following two screenshots might give more clarity.

Is this achievable ? If yes, would appreciate if anyone could provide any direction. If this is not supported, are there any other packages that has this feature ?

Many thanks. Screenshot 2024-07-24 at 2 41 30 PM

Original Image colourful-rainbow-spirals-ijgnlqquxz4soyqd

nrvikas avatar Jul 24 '24 04:07 nrvikas