New Post: Unhandled exception System.BagImageFormatException
Been banging my head on this all afternoon. I was successfully able to get the 64bit version up and running in an Windows Form earlier in the day. Now I've started a new project, added the x64 DLL as a...
View ArticleNew Post: Unhandled exception System.BagImageFormatException
You will get a BadImageFormatException when you try to load a 32 bit assembly in a 64 bit worker process or the other way around.
View ArticleNew Post: Cropping to PDF
dlemstra, Thank you so much! The latest release seems to fix the issue for me. eer3
View ArticleNew Post: Unhandled exception System.BagImageFormatException
sorry I didn't see the check mark that it would "prefer 32". Thanks!
View ArticleNew Post: Simple Composite producing image that looks "inverted"
This should be simple enough, I thought. I really didn't change much from the code I was working with yesterday. The two images are writing out. The background image looks fine. But the image on top...
View ArticleNew Post: Simple Composite producing image that looks "inverted"
Can you add a link to the images you are using?
View ArticleNew Post: Simple Composite producing image that looks "inverted"
background imageforeground image Thanks
View ArticleNew Post: Simple Composite producing image that looks "inverted"
I was already suspecting this, one of your images is a CMYK jpeg instead of RGB. You will get this result if you mix images that have a different color space. You should probably set the ColorSpace of...
View ArticleNew Post: ToBase64 is always different for same image
Thanks for your response, I am able to use Signature property get the hash of the Image. I have another question, when we start processing Image with resolution of 1440 * 1080, , the image conversion...
View ArticleNew Post: ToBase64 is always different for same image
5 seconds for resizing an image that small sounds a bit excessive. It might be possible that it is using OpenCL acceleration when it shouldn't. You can disable this with the MagickNET.UseOpenCL...
View ArticleNew Post: Is it possible to create tiled GIF images with Magick.NET?
I did some experimenting and I came up with the following code:// Could be larger but this works if every pixel in the block has a different colorint blockSize = 16; using (MagickImage image = new...
View ArticleNew Post: Reading into MemoryStream c#
I need to convert an image into different format and without saving that file, I need to download that file using Memorystream. I got this code but not sure how to download it after writing into memory...
View ArticleNew Post: Reading into MemoryStream c#
I found the solution for it. Sorry I was not looked for the code in discussion forum before creating this thread I am getting my required solution with below code // Read image from file using...
View ArticleNew Post: Magick.NET and Mono
Just wondering, is there any update on Mono compatibility? Or are we holding tight until the CoreCLR goes prime time?
View ArticleNew Post: Magick.NET and Mono
I am making preparations to make this possible. Currently the C++ code is integrated with the library but I am planning to move this to a separate library. I have created a proof of concept here:...
View ArticleNew Post: ToBase64 is always different for same image
Yes, Convert to Image TimeTaken = 5263 I am processing the PDF, with the following code, setting the UseOpenCL to false did not help, the processing time is still around 5 seconds...
View ArticleNew Post: ToBase64 is always different for same image
It is most likely that reading the PDF file is taking the most time. You might want to decrease the Density to improve the speed. And writing a PNG file can also take a while due to the compression...
View ArticleNew Post: ToBase64 is always different for same image
thanks for your reply As you suggested the culprit is reading of PDF file. Time taken to Read the PDF in milliseconds :3291 Time taken to Resize image in milliseconds :1268 If I get PDF outputted with...
View ArticleNew Post: ToBase64 is always different for same image
I would suggest you to use the settings and specify your own density. What is the current value that you are using? And what are you planning to do with the images? Depending on your use case you might...
View ArticleNew Post: MagickImage.Compare(MagickImage) returns invalid MagickErrorInfo...
When comparing MagickImages, no matter the two images being compared, I'm getting a MagickErrorInfo of all 0's. I've tested it with images that are slightly bigger and grossly bigger, and I'm getting...
View Article