pdfcpu icon indicating copy to clipboard operation
pdfcpu copied to clipboard

JBIG2Decode support

Open sunshineplan opened this issue 8 months ago • 1 comments

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?

sunshineplan avatar Apr 03 '25 05:04 sunshineplan

Handling JBIG2Decode is in the pipeline.

hhrutter avatar Apr 29 '25 09:04 hhrutter