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

Create successful ePaper yourself

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

Table 10.16 Members of the <strong>TET</strong>_image_info structure (C, C++, Ruby), equivalent public fields (Java, PHP, Objective-C), and<br />

properties (COM and .NET) with their type and meaning. See »Image <strong>Extraction</strong> Basics«, page 113, 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 the pCOS Path Reference).<br />

182 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!