22.03.2015 Views

DLI Implementation and Reference Guide - Datalogics

DLI Implementation and Reference Guide - Datalogics

DLI Implementation and Reference Guide - Datalogics

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Image Display 11.7<br />

Image Compression <strong>and</strong> Filtering<br />

If the document specifies compression, the bitmap will be compressed with Flate<br />

compression. If the document specifies Seven-Bit Safe mode, the bitmap will be<br />

filtered via ASCII85 to force it into a seven bit safe data format.<br />

dlpdfimagecreatefromps<br />

This method will create a EPS pass-through object in the PDF document. The EPS<br />

graphic is carried in the document, but not imaged by the document reader. Extracting<br />

the document to PostScript will include the object, <strong>and</strong> it will display in PostScript.<br />

This option is not generally used, but may be needed on occasion.<br />

This method assumes that the text of the EPS object is present as a string in memory.<br />

• The first parameter is a pointer to a document in which this object is to be created.<br />

• The second is a name to be given to this graphic.<br />

• The third <strong>and</strong> fourth are pointers to a string containing the EPS text <strong>and</strong> the length<br />

of that string.<br />

• The last parameter is a flag. If it is FALSE, this object will be inserted into the<br />

document only once. If it is TRUE, it will be inserted once for each usage.<br />

This segment of the complete graphics example inserts an EPS pass-through object,<br />

which will display a graphic in the PostScript produced from PDF, but not in the PDF<br />

document itself:

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!