resizer icon indicating copy to clipboard operation
resizer copied to clipboard

Define how mode=crop and scale=canvas interact

Open lilith opened this issue 9 years ago • 3 comments

https://stackoverflow.com/questions/35484684/imageresizing-wrong-cropping-behavior/35485548#35485548

lilith avatar Feb 18 '16 15:02 lilith

Hi, do you have any status update on this issue?

wiedikerli avatar Apr 19 '16 06:04 wiedikerli

Hello, I have a question, if the requested image is larger than the original image, then I need to show padding on the remaining area. I did this using scale=canvas and it shows a white border. I need to change the color of this to black. How can i do it ? I tried it by using paddingColor but it didn't work

Thanks

amitt0488 avatar Feb 21 '17 13:02 amitt0488

&bgcolor=black should do the trick

On Feb 21, 2017 6:21 AM, "amitt0488" [email protected] wrote:

Hello, I have a question, if the requested image is larger than the original image, then I need to show padding on the remaining area. I did this using scale=canvas and it shows a white border. I need to change the color of this to black. How can i do it ? I tried it by using paddingColor but it didn't work

Thanks

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/imazen/resizer/issues/168#issuecomment-281342449, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGln3-8orSm_MNqDsaMT2At8iBjqaLxks5reuTcgaJpZM4HdJ1E .

lilith avatar Feb 21 '17 18:02 lilith