|
|
Originally Posted by: Guest  I decided to give it a quick go and test it with a PDF containing mostly JBIG2 images (grayscale). A lot of HP MFPs seem to prefer this image format when scanning documents.
Well, the extracted images are just completely black, so something's not working as it should. I used the sample code in the SDK user manual to extract and save the images, and the latest Nuget package to test it. fixed! https://forum.patagames....on-Jun-18--2019#post1661
|
|
|
I'm afraid the document I'm testing on contains sensitive information, so I can't share it. I'll see if I can find a similar document scanned using the same settings which I can send to you. The image XObject for one such image has these keys, if that helps you: Code:/Type /XObject
/Subtype /Image
/BitsPerComponent 1
/Length 26334
/Width 3508
/Height 2480
/ColorSpace /DeviceGray
/Filter /JBIG2Decode
(Essentially, the entire PDF page is just an image).
|
|
|
Could you please provide the document with such images. I would like to examine it on my side. Thanks.
|
|
|
I decided to give it a quick go and test it with a PDF containing mostly JBIG2 images (grayscale). A lot of HP MFPs seem to prefer this image format when scanning documents.
Well, the extracted images are just completely black, so something's not working as it should. I used the sample code in the SDK user manual to extract and save the images, and the latest Nuget package to test it.
|
|
|
As I know all that decoders are supported. So you can easily get access to converted System.Drawing.Image through PdfImage.Bitmap.Image property No external decoders are required.
|
|
|
I'm trying to find some information which raster image formats are supported by Pdfium, but I can't find anything specific on your website.
Are DCTDecode, JBIG2Decode, JPXDecode and FlateDecode all supported? E.g, if I process an image XObject that's using the JBIG2Decode filter, can I get a converted System.Drawing.Image or System.Drawing.Bitmap from this that I can process/save/whatever or is a separate JBIG2 decoder required?
|
Important Information:
The Patagames Software Support Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close