Add APT002 /CalGray scan and update dln_23cb379b p1 render ground truth

#11
by auerchristoph - opened

Ground truth for https://github.com/docling-project/docling-parse/pull/411 (draw images in /CalGray and /CalRGB colour spaces).

New document:

  • regression/APT002_issue_calibrated_gray_colorspace.pdf: the sample from https://github.com/docling-project/docling/issues/4861, a one-page scanned invoice written by an image-to-PDF converter as a /CalGray CCITT Group 4 image. It rendered as the yellow "missing image" placeholder. Parser and render ground truth added.

Changed ground truth:

  • dln_23cb379b...pdf page 1: its /CalRGB JPEG is now decoded. The bitmaps and instructions metadata get pixel_format rgb, the decoded shape and .jpg; the retained bitmap_1.bin (empty) is replaced by bitmap_1.jpg. The stored full-page image is pixel-identical and unchanged.

Signed-off-by: Christoph Auer cau@zurich.ibm.com

auerchristoph changed pull request status to merged

Sign up or log in to comment