-
-
Notifications
You must be signed in to change notification settings - Fork 345
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maximum Scale Out to produce only complete image without any transparent parts added to result #595
Comments
I’m not sure what you mean since by default the whole image is seen, and if you scale above 1 then some will be out of bounds, below 1 and transparent areas will be seen. So the answer would be don’t scale it. Or do you mean the image itself contains transparency? |
if you are trying to scale down because the original image is too big to display, i think you should adjust/limit the dimension of the |
HI @rafaellichen - thanks, I will give it a try. |
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](https://private-user-images.githubusercontent.com/13354440/351577077-3fa308b0-7f2c-4f1b-a905-5ef5cbd44e99.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMjQ5MzEsIm5iZiI6MTczOTAyNDYzMSwicGF0aCI6Ii8xMzM1NDQ0MC8zNTE1NzcwNzctM2ZhMzA4YjAtN2YyYy00ZjFiLWE5MDUtNWVmNWNiZDQ0ZTk5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDE0MjM1MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTI4YjYyM2EzOTY1MmQ1NDQ0ZGEyZDYzMjQyNmUxYzA4ODY3MmM0Njc3Y2UwNzM0NmUwYmUyNzE5YTIzZDJiOTkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.b4Azau6rZfuwwEW0G-KmqEOmugaZxuURGOZ1f0mSCbk)
Original Image
![colourful-rainbow-spirals-ijgnlqquxz4soyqd](https://private-user-images.githubusercontent.com/13354440/351602297-4d7f1d43-2a54-48ce-870a-4fe86bc11594.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMjQ5MzEsIm5iZiI6MTczOTAyNDYzMSwicGF0aCI6Ii8xMzM1NDQ0MC8zNTE2MDIyOTctNGQ3ZjFkNDMtMmE1NC00OGNlLTg3MGEtNGZlODZiYzExNTk0LmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDE0MjM1MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTU5ZmVhYzM2YTNkMmEyZWM2MjczNjEyZjg1NzIwN2EzMGFjZjkyMTUyODYzNDM1MWFhZTMwNTg3YWUwMzRmNjQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Ckq4_fwYaSxspgcvy5n2AYuEpa7CHyv0VHsZ_H8iEqc)
The text was updated successfully, but these errors were encountered: