Expand ImageSharp.Web Support for Background Color? #7584
jeffolmstead
started this conversation in
Ideas
Replies: 2 comments
-
Can you open an issue @jeffolmstead ? ImageSharp.Web does support bgcolor, we have just always removed it (probably due to the potential for abuse) With token support I'm happy to see that support added as well, so a pr is welcome. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Right now, when I use a media resize_url to generate an image using pad as a jpg, then I am left with a black background where the padding is done. It looks like ImageSharp.Web supports bgcolor but I am not super familiar with the library. Would it be possible to expand the Orchard Core code and add in the option for passing in bgcolor? Then this could be exposed in Liquid as well to utilize. I feel that would allow me to then use jpg more often (rather than the png I am using right now - they are large files).
Beta Was this translation helpful? Give feedback.
All reactions