pdfcpu
pdfcpu copied to clipboard
JBIG2Decode support
The pdfcpu.RenderImage function is designed to decode and return a reader for image streams based on their filter type. It correctly identifies the JBIG2Decode filter in the pipeline, but it does not handle this case and returns nil for the reader, format, and error, resulting in no output. Could support be added to export the JBIG2 stream as a .jb2 file?
Handling JBIG2Decode is in the pipeline.