Closed
Description
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#2883
Describe the solution you'd like
Support LZWDecode
for images compression.