Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compress: Encode binary images as CCITTFaxDecode #52

Open
gunnsth opened this issue Apr 19, 2019 · 5 comments
Open

Compress: Encode binary images as CCITTFaxDecode #52

gunnsth opened this issue Apr 19, 2019 · 5 comments
Labels
compress Compression / Optimization enhancement New feature or request

Comments

@gunnsth
Copy link
Contributor

gunnsth commented Apr 19, 2019

The CCITTFaxDecode filter (and JBIG2 which is under development) is particularly well suited for encoding binary images (0/1). Images for optimization that are binary (DeviceGray and/or BitsPerComponent 1) should be encoded with CCITTFaxDecode filter.

@gunnsth gunnsth transferred this issue from unidoc/unidoc May 24, 2019
@jasonlor
Copy link

XObject Image: R8
Error: CCITTFaxDecode encoding is not yet implemented

+1 also seeing this, is there a timeline for CCITTFaxDecode encoding support?

Thanks!

@gunnsth
Copy link
Contributor Author

gunnsth commented Jul 26, 2019

What version of unipdf are you using? CCITTFaxDecode is supported for both decoding and encoding since v3.0.0.

@jasonlor
Copy link

I was using an older version defined by the examples on the website.

https://unidoc.io/examples/image/extract_images

@gunnsth
Copy link
Contributor Author

gunnsth commented Jul 27, 2019

@jasonlor Unfortunately the examples section on the website is obsolete. We are working on a site refresh. Our GitHub examples repository is up to date:
https://github.com/unidoc/unipdf-examples

@jasonlor
Copy link

Thanks!

@gunnsth gunnsth added compress Compression / Optimization enhancement New feature or request labels Jun 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compress Compression / Optimization enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants