mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 06:04:57 +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
1 changed files with 0 additions and 0 deletions
BIN
Tests/LibPDF/wide-gamut-only.pdf
Normal file
BIN
Tests/LibPDF/wide-gamut-only.pdf
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue