Expand description
Image XObject codecs (DCT / Flate / JBIG2 / JPX) for the OCR path. Image XObject codec decode for the OCR path.
Routes PDF /Filter values to pixel buffers. DCT / Flate / raw samples are
always available when the image feature is on; JBIG2 uses hayro-jbig2
behind codecs-jbig2; JPX uses best-effort fallbacks (and jpeg2k when
codecs-jpx is enabled).
Structs§
- Decoded
Gray - Result of decoding an Image XObject stream to grayscale for OCR.
Functions§
- decode_
image_ to_ gray - Decode image stream bytes into a grayscale raster suitable for OCR.