New Forum | Previous | Next | (P-PDF) Developers
Topic: how to display a bitmap file in my annotation?
Conf: (P-PDF) Developers, Msg: 122708
Date: 11/24/2004 07:12 AM
I'm trying to display a small bitmap image on my annotation but can't get the AP key set up right. I changed the AddImage sample plug-in to load my bitmap file and it simply didn't work. I'm pretty new to image processing here - what decode, color space etc.. should I use for bitmap? And is there any way to detect the image size?
I used "/Im1 Do" in my XObject cos object (Im1 is the image name in AP). Is this enough? Am I missing anything else? I looked through the samples, PDF references etc but could not find any sample code or detailed info about this.
Your help (or even a hint) is much appreciated!