Summary: | Support extractions of embedded objects | ||
---|---|---|---|
Product: | Artifex GSview | Reporter: | goldart.geo |
Component: | General | Assignee: | Russell Lang <gsview> |
Status: | RESOLVED WONTFIX | ||
Severity: | enhancement | ||
Priority: | P4 | ||
Version: | unspecified | ||
Hardware: | PC | ||
OS: | All | ||
Customer: | Word Size: | --- | |
Attachments: | extractICCprofiles.ps |
Description
goldart.geo
2008-07-04 12:46:11 UTC
Created attachment 4182 [details]
extractICCprofiles.ps
Embedded object _can_ be extracted from PDF's using Ghostscript. Here's an
example that extracts ICC profiles from a PDF. Doing this kind of thing does
require some understanding of the Ghostscript PDF interpreter, currently
implemented in PostScript.
If someone generalizes this (and improves the UI) it may be worth carrying
forward if we ever move to a C (or C++, OMG) PDF interpreter.
An example invocation of this is:
gs -q -dNODISPLAY extractICCprofiles.ps -c "(ICC_) (examples/annots.pdf)
extractICCprofiles quit"
which will extract a profile to a file named: ICC_Cs8
Adding support for 'links' in a viewing application is an enhancement and not a part of 'core' Ghostscript. Reclassifying in case ghostgum wants to enhance GSView GSview only has basic annotation link support for PDF files, and this won't be extended to other PDF operations. |