Define how mode=crop and scale=canvas interact
https://stackoverflow.com/questions/35484684/imageresizing-wrong-cropping-behavior/35485548#35485548
Hi, do you have any status update on this issue?
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
&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 .