1
0
mirror of https://github.com/SerenityOS/serenity synced 2024-07-09 00:30:47 +00:00

Tests: Add a pdf that embeds a wide-gamut 16-bits/channel image

I opened Tests/LibGfx/test-inputs/png/wide-gamut-only.png in
Preview.app and used File->Export as PDF... to convert it to a PDF.

I then ran

    mutool clean -d Tests/LibPDF/wide-gamut-only.pdf \
                    Tests/LibPDF/wide-gamut-only.pdf

to decompress it, edited by hand to remove padding around the image
and shrunk the page's MediaBox to be as big as the image, and ran the
command above again to fix up binary offsets in the xref table.
This commit is contained in:
Nico Weber 2024-01-12 08:55:24 -05:00 committed by Andrew Kaster
parent 1b4f9bdbdb
commit b47695c87e

Binary file not shown.