New Forum | Previous | Next | (P-PDF) Developers
Topic: How to Insert a Tiff Image as an Annot in PDF
Conf: (P-PDF) Developers, Msg: 53941
Date: 5/29/2002 05:02 PM
You would have to write this in C, as a plug-in. To start with you will need to extract the image data from the TIFF file. TIFF is a complex format, but the public domain libTiff library will help there. Then you can add the image to the PDF file.
It isn't clear what kind of annotation you want to create. Perhaps a form field? Anyway it is likely to require a lot of very low level Cos manipulation of the PDF.
Possibly the forms API could also be used from Visual C++ provided you first got the TIFF file converted to a PDF.