17.05.2014 Views

PDFlib Text Extraction Toolkit (TET) Manual

PDFlib Text Extraction Toolkit (TET) Manual

PDFlib Text Extraction Toolkit (TET) Manual

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.

Table 10.11 Members of the <strong>TET</strong>_image_info structure (C and C++), equivalent public fields (Java and PHP), and properties<br />

(COM and .NET) with their type and meaning. See »Image <strong>Extraction</strong> Basics«, page 81, for more details.<br />

property/<br />

field name<br />

explanation<br />

x, y (Double) Position of the image’s reference point. The reference point is the lower left corner of the image.<br />

width,<br />

height<br />

alpha<br />

beta<br />

imageid<br />

(Double) Width and height of the image on the page in points, measured along the image’s edges<br />

(Double) Direction of the pixel rows. The angle will be in the range -180° < alpha ³ +180°. For upright images<br />

alpha will be 0°.<br />

(Double) Direction of the pixel columns, relative to the perpendicular of alpha. The angle will be in the<br />

range -180° < beta ³ +180°, but different from ±90°. For upright images beta will be in the range -90° <<br />

beta 90° the image will be mirrored at the baseline.<br />

(Integer) Index of the image in the pCOS pseudo object images[ ]. Detailed image properties can be retrieved<br />

via the entries in this pseudo object (see Table 9.5).<br />

146 Chapter 10: <strong>TET</strong> Library API Reference

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

Saved successfully!

Ooh no, something went wrong!