-
Notifications
You must be signed in to change notification settings - Fork 269
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
Add support for LZWDecode compression #1271
Comments
Hi! I'd love to work on this issue can you assign me? |
Sure, done! |
Hi @opposss Have you been able to start working on this implementation? |
Hi @Lucas-C Almost done, I will send the PR for review soon.
|
Great! 👍
Yes!
If you can find a mention that this is supported, in the PDF spec (PDF32000_2008.pdf), or that main PDF readers support it (Adobe Acrobat, Sumatra PDF, MuPDF, web browsers...), then yes! |
This feature has been included in the new release published today: |
Please explain your intent
Currently
fpdf2
supports 4 compression methods for images:https://github.com/py-pdf/fpdf2/blob/2.8.0/fpdf/image_parsing.py#L35
The PDF standard specification (cf. PDF32000_2008.pdf section 7.4 Filters) defines several other compression filters, including
LZWDecode
.Recently, this filter was implemented by @MartinThoma in our companion library
pypdf
: py-pdf/pypdf#2883Describe the solution you'd like
Support
LZWDecode
for images compression.The text was updated successfully, but these errors were encountered: