

Nibble Stew: Creating a PDF/X-3 document with CapyPDF
source link: https://nibblestew.blogspot.com/2023/07/creating-pdfx-3-document-with-capypdf.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Friday, July 21, 2023
Creating a PDF/X-3 document with CapyPDF
The original motivation for creating CapyPDF was understanding how fully color managed and print-ready PDF files are actually put together. A reasonable measure of this would be being able to generate fully spec conforming PDF/X-3 files. Most of the building blocks were already there so this was mostly a question of exposing all that in Python and adding the missing bits.
I have now done this and it seems to work. The script itself can be found in CapyPDF's Git repo and the generated PDF document can be downloaded using this link. It looks like this in Acrobat Pro.
It is not graphically the most flashy, but it requires quite a lot of functionality:
- The document is A4 size but it is defined on a larger canvas. After printing it needs to be cut into the final shape. This is needed as the document has a bleed.
- To obtain this the PDF has a bleed box (the blue box) as well as a trim box (the green box). These are not painted in the document itself, Acrobat Pro just displays them for visualisation purposes.
- All colors in graphical operations are specified in CMYK.
- The image is a color managed CMYK TIFF. It has an embedded ICC profile that is different from the one used in final printing. This is due to laziness as I had this image laying around already. You don't want to do this in a real print job.
- The heading has both a stroke and a fill
- The printer marks are just something I threw on the page at random.
No comments:
Post a Comment
Recommend
-
12
Nibble Stew A gathering of development thoughts of Jussi Pakkan...
-
8
Nibble Stew A gathering of development thoughts of Jussi Pakkan...
-
11
Nibble Stew A gathering of development thoughts of Jussi Pakkan...
-
10
Nibble Stew A gathering of development thoughts of Jussi Pakkan...
-
5
Nibble Stew A gathering of development thoughts of Jussi Pakkan...
-
9
Saturday, June 10, 2023 A4PDF has been renamed to CapyPDF As alluded to in the previous post, A4PDF has changed its name. The new project name...
-
5
CapyPDF has a fair bit of functionality and it might be difficult to tell from the outside what works and what does not. Here is a rough outline of implemented functionality.
-
9
Wednesday, July 5, 2023 CapyPDF 0.4 release and presenter tool I have just released version 0.4 of CapyPDF. You can get it either via
-
4
A logo for CapyPDF The two most important things about any software project are its logo and mascot. Here is a proposal for both for CapyPDF.
-
10
Nibble Stew A gathering of development thoughts of Jussi Pakkan...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK