Magick.NET Behavior In Azure App Service #1273
Unanswered
zdickinson
asked this question in
Help
Replies: 1 comment
-
You can attach the file here if you zip it. For the |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hello. Our team has been working to remove System.Drawing functionality out of our app because things like "MetaFile" and "Bitmap" aren't able to be used in an Azure app service. Using Magick.NET-Q8-AnyCPU version 12.1.0 in our NET 6 web api we've attempted to get Wmf information and subsequent colors using the following.
Running this code on a Windows machine provides the correct list of colors. When ran on the Azure App Service the only color returned is white, or 255-255-255, every time.
No errors seemed to be returned, and I can confirm the image stream I pass into MagickImage is the correct color as I save it out to a cloud bucket before performing the displayed code.
Is there anything I might be missing here? I can't even attach the test WMF because it's not a supported file type, which is pretty ironic.
Beta Was this translation helpful? Give feedback.
All reactions