New Forum | Previous | Next | (P-PDF) Developers
Topic: How to insert a bitmap using appearance stream
Conf: (P-PDF) Developers, Msg: 112405
Date: 5/31/2004 10:46 PM
Hi, I could show a jpeg image through AP stream in a field; but the same code fails (shows just the white background) with the image being a bitmap.
I am reading the jpeg file totally into a stream and passing it to form the image xobject. Using the filter DCTDecode for jpeg.
For bmp I am using no filter and creating the stream using only the bits data (excluding the header.)
Except for the above two differences all the remaining code is same.
What might be wrong with it? Any clues and suggestions are highly appreciated.
Thanks in advance.