Printing PDF NSImages with OPI dictionaries - OPI dicts are gone!
Printing PDF NSImages with OPI dictionaries - OPI dicts are gone!
- Subject: Printing PDF NSImages with OPI dictionaries - OPI dicts are gone!
- From: Izidor Jerebic <email@hidden>
- Date: Thu, 6 Dec 2001 14:37:37 +0100
Hello!
As the subject says, I am trying to print (with AppKit View mechanism) a
page which contains (among other things) a PDF image (via AppKit NSImage),
which contains OPI dictionary among other XObject's keys. Image is a
normal XObject, generated from TIFF via Preview.app and then modified to
include OPI stuff.
It seems that AppKit (or something else) strips all the info from the
XObject, so all "unknown" keys and their data are removed from the image's
XObject dictionary.
This is a big problem, because the discarded info is VERY important.
Now, what can I do about that? Is there a flag or setting that can be set
to preserve all incoming info from PDF?
Am I doing something wrong?
Any idea?
Thanks in advance for anything,
izidor