New Post: 'System.AccessViolationException' occurred in...
You should set UseOpenCL to false at the start of your application. It is a global setting that you should only need to set once.
View ArticleNew Post: On Azure, Text Doesn't Render When Converting SVG to PNG
Magick.NET uses librsvg to read the svg files. And that seems to be using pango to draw text. Maybe this library cannot access the fonts in an Azure App Services due to security restrictions? Are you...
View ArticleNew Post: On Azure, Text Doesn't Render When Converting SVG to PNG
Thanks Dirk; That does work, both locally and on the Azure server, so you must be correct. I don't know if I can elevate permissions on the appropriate library, but I will try. If you have any...
View ArticleNew Post: On Azure, Text Doesn't Render When Converting SVG to PNG
Are you able to specify the font? Or does it seem to be using only a default font?
View ArticleNew Post: On Azure, Text Doesn't Render When Converting SVG to PNG
I've tried it both ways, even uploading a font file with the web site and using PrivateFontCollection to load it. All of them give me the same result, which is that it works locally, but not on Azure....
View ArticleNew Post: On Azure, Text Doesn't Render When Converting SVG to PNG
I meant when you use label:. You need to set the font property on the settings of the image first and then call .Read.
View ArticleNew Post: On Azure, Text Doesn't Render When Converting SVG to PNG
Ahh, sorry, my bad. I've got it loading that way now, and I can specify different system fonts (Arial, Verdana, Times) using that mechanism (but not my custom font). I can get away with using a system...
View ArticleNew Post: On Azure, Text Doesn't Render When Converting SVG to PNG
Label uses the freetype library and that seems to be able to load the font. Pango uses GDI to draw fonts. I found the following post about GDI issues:...
View ArticleNew Post: On Azure, Text Doesn't Render When Converting SVG to PNG
Thanks for your help, Dirk. That certainly looks to be the culprit. I'll see about moving our SVG processing to a web role. Much appreciated! Dave
View ArticleNew Post: 'System.AccessViolationException' occurred in...
I will try to publish a new release that resolves this issues tomorrow.
View ArticleNew Post: Resizing Images In Folder
Hi, I recently found this project and familiar with ImageMagick so I thought I gave this a try. I'm relatively new to C#. I just want to do something really simple, resize all images in a folder and...
View ArticleNew Post: 'System.AccessViolationException' occurred in...
That will be great....thanks!!!!
View ArticleNew Post: Resizing Images In Folder
It looks like you are trying to load an 64-bit dll in a 32-bit process. Not sure why that is happening, I remember that there was an issue with IIS express. Are you using that? The...
View ArticleNew Post: Masking image with shape
The packages I reference below are from Nuget. In version 7.0.0.21 - which must still be using im6 I was able to mask an image with a circle shape like this: using (var overlay = new...
View ArticleNew Post: Masking image with shape
I am not sure what you are trying to do. Can you add a link to a before/after image? And Magick.NET has been using IM7 since the 7.X versions started. And I made quite a lot of breaking changes/fixes...
View ArticleNew Post: Masking image with shape
Starting with : End up with: This example isn't exact, but it's the same concept. Going from a square image to a circle.
View ArticleNew Post: Masking image with shape
The output isn't also exact but the following works for me with the latest version:using (MagickImage image = new MagickImage("2rnubmq.jpg")) { using (MagickImage mask = new...
View ArticleNew Post: Masking image with shape
perfect, that worked for me. Thanks for the quick response.
View ArticleNew Post: Write Value in null ExifProfile
Could you please help me? How can I write value in null ExifProfile. I am using latest version Magick.NET 7.0.0.0104 and trying to write ExifTag values in jpg file.
View Article