Merge pull request #8299 from dotCooCoo/fix/pdfx-xmp-metadata-date

PDF/X: PDF/X-4 files carry xmp:MetadataDate, equal to xmp:ModifyDate
This commit is contained in:
BFlat
2026-11-17 18:49:07 +07:00
committed by GitHub
4 changed files with 69 additions and 6 deletions
+1 -1
View File
@@ -9393,7 +9393,7 @@ layers are refused.
destination or output intent is refused. Transparency is flattened before writing.
- **pdfX3** (PDF/X-3:2002, written as PDF 1.3): colours are tagged with ICC profiles; transparency is flattened.
- **pdfX4** (PDF/X-4:2010, PDF 1.6 at most): transparency and layers are kept, colours are tagged, and the XMP metadata
names the standard.
names the standard and has an `xmp:MetadataDate` equal to its `xmp:ModifyDate`.
Flattening uses `flattenerPreset` (default High Resolution, see PDF 1.3 above) on a copy (the document is untouched; a
warning says so), and images with see-through pixels count as transparency. The written file is checked against