Default rmode and bgcolor in Startup.cs (ImageSharp.Web) #177
Unanswered
sjorritsma
asked this question in
Q&A
Replies: 1 comment
-
Glad to hear you like it! That's not something you can do via the Configuration class. Quality is a property of a codec not a process (we actually replace the default encoder on a per request basis when parsing commands) You could set automatic commands via ImageSharpMiddlewareOptions.OnParseCommandsAsync though which could be used to set a background or resize mode. |
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
-
Hi thanks for your work, LOVE IT!
Can't figure this out. I would like to set default Rmode and Bgcolor in the Startup.cs.
Managed to set default quality to 80
Beta Was this translation helpful? Give feedback.
All reactions