New Post: ImageMagick reads/converts TrueColor TIF as Grayscale?
Viewpoint 1 - The developer perspective Your comments made me dig into the code and figure out what is happening. It turns out that requesting the ColorType changes the ColorType and ColorSpace. I have...
View ArticleNew Post: Combining two multi-page TIFF images
Can you post a link to both your images? And what do you consider super slow?
View ArticleNew Post: Combining two multi-page TIFF images
I cannot post the images due to them containing confidential information. They are both 2480 by 3475. One file has 5 pages, the other has 40. When I iterate through both files, it runs in about 4...
View ArticleNew Post: Combining two multi-page TIFF images
You are probably using the Q16 version of Magick.NET The Q16 version uses HDRI and requires a lot of memory 2480 * 3475 * 16 bytes per pixel = 131MB per page. This is a total of 45 * 131MB = 5.9 GB....
View ArticleNew Post: Combining two multi-page TIFF images
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
View ArticleNew Post: Possible bug with large file streams?
Using this image: https://www.dropbox.com/s/hvgfu4f6s25zhqu/PreviewforTif.tif. It's large(191 MB) var destinationStream = new FileStream("test.pdf", FileMode.Create); //this is the image in dropbox...
View ArticleNew Post: Possible bug with large file streams?
You need to set the density when you read the PDF that you have just created, otherwise it will use 72 dpi as the default. MagickReadSettings settings = new MagickReadSettings(); settings.Density = new...
View ArticleNew Post: Possible bug with large file streams?
Shouldn't the density and format already be a part of the destination stream that was created on this line: magickImage1.Write(destinationStream); So when I read from that stream, the density and...
View ArticleNew Post: Combining two multi-page TIFF images
dlemstra, Thank you for mentioning the Q8 version. Using this drastically cut down run time (only took 20 seconds with it!). While I appreciate you adding new methods, please do not do it just for me....
View ArticleNew Post: Combining two multi-page TIFF images
You don't need to use the convert.exe program anymore. Almost all the functionality from ImageMagick is available in Magick.NET. And if it is not please tell me so I can try to add it. You can set the...
View ArticleNew Post: Combining two multi-page TIFF images
dlemstra, Thank you for showing me how to set the compression method. I didn't realize you only needed to set it for the first image in the set. I have Magick.NET currently doing everything I need from...
View ArticleNew Post: Possible bug with large file streams?
I agree that you would expect the density to be maintained. But the PDF reader currently does not support that. I found this example on how to parse it:...
View ArticleNew Post: Possible bug with large file streams?
You're code snippet above seems to work for pdf's. But I'm having a similar problem converting to .png. They all end up being 72 DPI. Using this image:...
View ArticleNew Post: Possible bug with large file streams?
The PNG reader only reads the density when the ResolutionUnits are set. magickImage1.ResolutionUnits = Resolution.PixelsPerInch;And there is a bug when you read magickImageDestination.ResolutionUnits....
View ArticleNew Post: Possible bug with large file streams?
Thanks. And just to clarify. In the following code, using the same source file as above(https://www.dropbox.com/s/k7khbpvbrqqtryz/22307_009_%20JM_0055.jpg): MagickImage magickImage = new...
View ArticleNew Post: Possible bug with large file streams?
I ran my tests without magickImage.Strip();. If you remove that it will work. But I have no idea why that is happening. I will have to look in the PNG coder and figure that out for you. I would advise...
View ArticleNew Post: ImageMagick reads/converts TrueColor TIF as Grayscale?
“Your comments made me dig into the code and figure out what is happening” Yeah, I didn’t want to push this topic because it would be nice from me to read the source code and give you some C++ code...
View ArticleNew Post: Possible bug with large file streams?
Thanks. Do you happen to know when the next full release will be that covers some of the recent changes?
View ArticleNew Post: Possible bug with large file streams?
I was planning to publish a release last weekend but I did not have enough time to do it. I hope I can publish the release this weekend.
View ArticleNew Post: No such file or directory...
Using this file: https://www.dropbox.com/s/infnited52bkz98/NIKE_logo.ai I get the following error: Magick: Postscript delegate failed `c:\Nike_logo.ai': No such file or directory @...
View Article