New Forum | Previous | Next | (P-PDF) Developers
Topic: Using pdfmark to create an annotation appearance
Conf: (P-PDF) Developers, Msg: 67009
Date: 6/17/2002 03:17 PM
With pdfmark, I am trying to add an annotation with an appearance provided by a JPEG file. I have verified that I can take a JPEG file and use its data, as is, for the data for an XObject stream with DCTEncode compression. My problem is that when I put this data in the annotation appearance using pdfmarks, the Distiller garbles the data, and puts it in Flate encoding, which doesn't work. It seems to do this regardless of how I configure the Distiller or use setdistillerparams to change the way it encodes color images. Do you know of any way to force Distiller to leave the data stream alone? The pdfmark tech note claims that it always compressed stream data created with a pdfmark, using LZW or Flate depending on the compatibility setting of Distiller.