New Post: How to read CCITTFaxDecode Group 4 image
Hi, I'm using nuget package Magick.Net-Q16-AnyCPU version 7.0.1.500 to read an image. The image is a CCITTFaxDecode Group 4 image. My basic code looks like this: ``` org.pdfclown.bytes.IBuffer ibuf =...
View ArticleNew Post: How to read CCITTFaxDecode Group 4 image
I'm now also setting readSettings.ColorType = ColorType.Bilevel; readSettings.UseMonochrome = true; as per TEXT I iterated over the following MagickFormat[] formats = new MagickFormat[] {...
View ArticleNew Post: How to read CCITTFaxDecode Group 4 image
Can you share your input image on something like onedrive or dropbox?
View ArticleNew Post: How to read CCITTFaxDecode Group 4 image
Hi, Thanks for your reply. I'll have to create one that's not sensitive. I'll do that tomorrow. Thanks Martin
View ArticleNew Post: How to read CCITTFaxDecode Group 4 image
Here's the url to an image TEXT Here's some information I have about the image BitsPerComponent 1 ColorSpace DeviceGray DecodeParams Columns 2484, K -1 Filter CCITTFaxDecode Height 2503 Length 24 0 R...
View ArticleNew Post: Limit image formats on Magick.net
There is no way to set the allowed formats when reading an image. You can however disable formats by unregistering them:foreach (var formatInfo in MagickNET.SupportedFormats) { if (formatInfo.Format !=...
View ArticleNew Post: Limit image formats on Magick.net
Thank you. I am guessing if we add png in the if(formatInfo.Format) code above, we should be able to add support for png in the "approved" format list? Also would this check affect server speed...
View ArticleNew Post: Limit image formats on Magick.net
You are correct that when you add PNG to the list you will also be able to use that. You should however only call this piece of code once at the start of your application. When you Unregister a format...
View ArticleNew Post: How to read CCITTFaxDecode Group 4 image
What is the content of the image? If I remove one of the checks I get an all white image. And what is the size of your image?
View ArticleNew Post: How to read CCITTFaxDecode Group 4 image
Hi Here is a screen shot of pdf page concerned.TEXT I'm not sure how to determine the size the image should be, maybe it's the length attribute from above. I'll have a look :-) Thanks very much for...
View ArticleNew Post: How to read CCITTFaxDecode Group 4 image
The length of the compressed data stream is 40052 bytes, which is the size of the file Would it help if I send the image in as part of a single page pdf?
View ArticleNew Post: How to read CCITTFaxDecode Group 4 image
I did not mean the size in bytes but the dimensions of the image but width and height. It is now using the default 'fax' size (2592x3508). I suspect it is using the wrong decoding and that is why it...
View ArticleNew Post: How to read CCITTFaxDecode Group 4 image
Here's a link to the single page pdf, in case it helps [TEXT](https://1drv.ms/b/s!AuHLKfHr7wNej9YGkB_tvkdBwfZP_Q
View ArticleNew Post: How to read CCITTFaxDecode Group 4 image
Sorry, I've just seen you latest message. I see in the code for magick there is talk of a group 4 as well, but I don't know if that's to do with fax or something else. Thanks very much for your help :-)
View ArticleNew Post: How to read CCITTFaxDecode Group 4 image
It appears that my assumption was correct. Group4 compression was not support by ImageMagick. I just pushed some changes to add support for that in ImageMagick:...
View ArticleNew Post: How to read CCITTFaxDecode Group 4 image
Hi Dirk, That's awesome - thanks very much! Should I be able to pull that commit now, or do I need to wait for the next release? When would that be? Thanks again Martin
View ArticleNew Post: How to read CCITTFaxDecode Group 4 image
I think I've got it. I'll just see if I can work out the readSettings :-)
View ArticleNew Post: How to read CCITTFaxDecode Group 4 image
Hmm - the configure script to make the build environment is failing. I have the bash shell on my WIndows 10 pc. Added bin folder of visual studio to path env variable. (initially no compiler detected)...
View ArticleNew Post: How to read CCITTFaxDecode Group 4 image
I can publish a new release for you tomorrow, been a month since the last release anyway.
View Article