Running MagicScaler in an Azure App Service #77
Replies: 1 comment
-
Interesting... can't say I've ever tried that. It's possible they exclude some of the WIC codecs on whatever stripped-down/hardened custom Windows builds they run Azure App Services on. You wouldn't be able to add it if so, because WIC is a component of Windows itself. I'm actively working on proper support for plugging codecs into the MagicScaler pipeline, so it'll be possible to use e.g. In the meantime, you might be able to put something together using the TIFF support recently added to ImageSharp and available in their latest alpha builds. If you only need to decode TIFF and will be encoding to PNG, you can even integrate ImageSharp with MagicScaler today using something like the sample here: https://github.com/saucecontrol/PhotoSauce/tree/master/src/ManagedCodecs. Although the memory efficiency won't match what you get with the WIC codec, it would be portable. |
Beta Was this translation helpful? Give feedback.
-
Hi,
MagicScaler works for 'standard' JPEG and PNG files, but when I try to process a TIFF with B&W CCITT Group 4 images in it:
I can't figure out how to install WIC in an Azure App Service (which I assume is the problem) - do you know??
Thanks, Chris :-)
Beta Was this translation helpful? Give feedback.
All reactions