New Post: Difference between Magick.NET-AnyCPU and Magick.NET.Core
An update on this, it worked fine when I copied the native dll manually into windows system32 folder. (I tried adding that as reference/COM reference too which didn't work) Is this the only solution?...
View ArticleNew Post: ImageMagick Security Issue
ImageMagick 7 is no longer in beta since 30 april. I won't be publishing a new release for the version 6 release. A lot of changes and improvements have been made since then. Feel free to contact me...
View ArticleNew Post: ResourceLimits.Thread
That is correct. But make sure you do those operations on different images. Running multiple operations on the same image will result in unknown behavior.
View ArticleNew Post: Convert rgb byte array to cymk byte array
Hello, New to magick.NET and hoping to utilize it to convert a rgb pdf to a cymk pdf. What I need Magick.NET for is to convert a rgb byte array into a cymk byte array Any guidance? Here is my code so...
View ArticleNew Post: Convert rgb byte array to cymk byte array
I think you should look for another tool to do this. PDF is a vector file format and will be changed to a raster format when read. Writing it back will result in a much bigger file with a lower quality...
View ArticleNew Post: Convert rgb byte array to cymk byte array
dlemstra wrote: I think you should look for another tool to do this. PDF is a vector file format and will be changed to a raster format when read. Writing it back will result in a much bigger file with...
View ArticleNew Post: Convert rgb byte array to cymk byte array
It might be better to use the TransformColorSpace of MagickImage to change the image from RGB to CMYK: image.TransformColorSpace(ColorProfile.SRGB, ColorProfile.USWebCoatedSWOP);And if your PDF file...
View ArticleNew Post: AddProfile causes NullReferenceException
Hey guys I have the following code: public static void ConvertRawImage(string path) { ImageProfile exif = new ExifProfile(path); MagickReadSettings settings = new MagickReadSettings(); settings.Format...
View ArticleNew Post: AddProfile causes NullReferenceException
More info: I am using Magick.NET-Q16-AnyCPU version 7.0.1.101 installed through nuget. It seems that the error is that the ExifProfile sometimes have no Values attached, I have noticed this by parsing...
View ArticleNew Post: CMYK Images with more than 4 color planes
Hello, I have following Problem: in professional graphics for Output, the cmyk Color space is used and in some case additionally Color planes for White or varnish. Photoshop can handle this formats for...
View ArticleNew Post: AddProfile causes NullReferenceException
I am not sure if you understand how the ExifProfile constructor works. You cannot use it to read the exif profile from an image file. That constructor expects only image data. I just pushed a patch to...
View ArticleNew Post: CMYK Images with more than 4 color planes
Have you tried it yourself? Can you share one on your images if you can't try it yourself? You might want to give my MagickViewer (https://magickviewer.codeplex.com/) a try an see what happens when you...
View ArticleNew Post: AddProfile causes NullReferenceException
I think I was aware of how the constructor worked, I only used the constructer to generate the Exif from the path to my image file which should be allowed according to the specification. I think i...
View ArticleNew Post: 'System.AccessViolationException' occurred in...
Hello I am using Magick.NET-Q16-x64.dll latest version. Getting accessviolation exception, could you please let me know the solution for this? Thanks.
View ArticleNew Post: Create a multi layer (PSD) file
Hi, I'm looking a lot of documentation but I don't find a real answer about my problem. I tried some code but it doesn't work. My question is : is it possible to create a PSD file with some layers from...
View ArticleNew Post: Get Only Diff
Hi, Could anyone please help me in getting the same result in the .Net code as the one below from command prompt? composite.exe D:\test\image1.png D:\test\image2.png -compose difference Src...
View ArticleNew Post: Create a multi layer (PSD) file
When you create a PSD file you will also need to add an image of all layers combined. This means that you will need to add an extra image to the list before you will see layers in GIMP or Paint.NET.
View ArticleNew Post: Get Only Diff
Your command would translate to this:using (MagickImage image1 = new MagickImage(@"D:\test\image1.png")) { using (MagickImage image2 = new MagickImage(@"D:\test\image2.png")) { image1.Composite(image2,...
View ArticleNew Post: 'System.AccessViolationException' when creating large PDF from a PNG
I'm using the following code to create a PDF from a PNG with Magick.NET-Q16-AnyCPU version 7.0.1.101 installed via NuGet. using (MagickImage image = new MagickImage(@"C:\test.png")) { image.Format =...
View ArticleNew Post: 'System.AccessViolationException' when creating large PDF from a PNG
Can you share a file that I can use to reproduce the issue? Is your code executed in a 32-bit or a 64-bit environment?
View Article