Grayscale via querystring parameter #310
-
Hi, I'm wondering if it's possible to have an image returned in grayscale via a querystring parameter? e.g. Something like I can see there's a GrayscaleExtensions class in the core library but presumably I'd need to build my own middleware if it's not possible to use that 'out of the box' with ImageSharp.Web. I'm a front-end dev currently working on an Umbraco project so was hoping there'd be something like the old ImageProcessor filters (https://imageprocessor.org/imageprocessor/imagefactory/filter/). Many thanks for any pointers :) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @danbramall @stefannikolei opened a PR to add this but I'm not going to add it to the core processor list so I can keep the potential attack surface at a minimum for DDOS attacks. You can use this as a basis for an implementation though. The library is designed to be extensible to you can bring your own processing commands. |
Beta Was this translation helpful? Give feedback.
Hi @danbramall
@stefannikolei opened a PR to add this but I'm not going to add it to the core processor list so I can keep the potential attack surface at a minimum for DDOS attacks.
You can use this as a basis for an implementation though. The library is designed to be extensible to you can bring your own processing commands.
#313