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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Image Display 11.3<br />

Pointers to images become invalid on document destruction <strong>and</strong> must not be used<br />

after that time.<br />

A document may contain any number of images. Each image will be included in the<br />

document only once, but may be referenced within that document many times.<br />

The image is considered to be a part of the document, <strong>and</strong> may not be used in any<br />

document other than the one in which it was created. Images need not be directly<br />

destroyed, since they will be destroyed automatically when the document that<br />

contains them is destroyed.<br />

Images are tracked <strong>and</strong> reused via the ImageName value. The same image data with a<br />

different Image Name is considered a different image. Image data is passed into the<br />

creation routines via strings in memory. These strings may be freed after the call to<br />

create the image.<br />

<strong>Implementation</strong>s of <strong>DLI</strong> on UNIX <strong>and</strong> Windows include public-domain libraries to<br />

convert a number of common graphic forms into bitmaps usable by PDF.<br />

NOTE: The public-domain graphic-conversion libraries used on Unix <strong>and</strong> Windows<br />

are not available on OS/390 <strong>and</strong> OS/400 platforms. Consequently some image<br />

creation procedures are not available under OS/390 <strong>and</strong> OS/400.<br />

Graphic Image Forms<br />

Predefined images typically fall into one of two major varieties:<br />

• Bitmap Graphic Forms<br />

• Graphical Language Forms<br />

Bitmap Graphic Forms<br />

This is the most basic form of image. It consists of a stream of bits; indications of the<br />

number of samples per line, <strong>and</strong> the number of lines; a description of the samples<br />

(color model, sample size); <strong>and</strong> a description of ordering. It may also contain a

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

Saved successfully!

Ooh no, something went wrong!