mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-07 08:29:58 +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:
parent
1b4f9bdbdb
commit
b47695c87e
BIN
Tests/LibPDF/wide-gamut-only.pdf
Normal file
BIN
Tests/LibPDF/wide-gamut-only.pdf
Normal file
Binary file not shown.
Loading…
Reference in a new issue