EXTRACTRES(1)
β¨ EXTRACTRES(1) β¨
omg hi bestie π this is EXTRACTRES(1), a General Commands Manual page, and it's all about a filter that pulls resources out of a PostScript document. No cap.
πΈ NAME πΈ
extractres β filter to extract resources from a PostScript document π
π¦ SYNOPSIS π¦
extractres [-m] <document.ps >output.ps
π DESCRIPTION π
So extractres extracts resources β like fonts, procsets, patterns, files, etc β that are appearing in a PostScript document. Then it drops appropriate %%IncludeResource comments into the document prologue. The extracted resources get written to files with the same name as the resource, plus an appropriate extension. β¨
And this pipeline:
extractres file.ps | includeres >out.ps
will move every resource that shows up in a document into the document prologue, and it removes redundant copies. After that, you can safely put the output file through page re-arrangement filters like psnup or pstops. Periodt. π
The -m option combines resources that have the same name into one file. You literally have to use it for some programs that download fonts a little bit at a time. π
π AUTHOR π
This was written by Angus J. C. Duggan. π«Ά
π SEE ALSO π
β TRADEMARKS β
Just so you know, PostScript is a trademark of Adobe Systems Incorporated. π
π BUGS π
extractres does not alter the %%DocumentSuppliedResources comments. So if you were hoping it would, bestie, it literally does not. π
mwah π this page is brought to you by PSUtils, titled EXTRACTRES(1), and the footer has no date, so it's timeless. Stay iconic, bestie. πβ¨
π¦ where this page comes from
- alpine 3.24: texmf-dist-fontutils-doc 2026.0-r0 Β· LPPL-1.0 AND LPPL-1.1 AND LPPL-1.2 AND LPPL-1.3a AND LPPL-1.3c AND GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms