columnelements, there will be
textopelements describing the graphical content on the page. (The
textopelements are only present if enabled with the -textops option.)
These elements appear in the order in which the objects were drawn in the PDF content stream.
ImagesEach placed image is represented by an
ury) is identical in format to the
wordbounding box. Units are controlled by the
The image tag in the
imagedata attribute refers to
element in the
resources element. Multiple
images (on the same or different pages) can have the same image tag,
i.e., they can share the same image data. The same image data can be
drawn in different positions and/or with a different size.
Image masksImage masks are monochrome (1-bit) bitmaps that are filled with a particular color:
imageelements. There is an additional
colorchild element (see the description of color for
Image mask data is a 1-bit image, with no inherent color. The same image mask data can be drawn in multiple places, at different sizes, and with different colors.
FillsFill operations are represented by
eo" for the even-odd rule, or "
nzwn" for the non-zero winding number rule.
color element is the same as used with words
and image masks, with one exception. For tiling pattern fills, with
-nopatterns command line option, the color will be:
StrokesStroke operations (poly-lines) are represented by
The line cap style is one of:
- 0: butt cap
- 1: round cap
- 2: projecting square cap
The line join style is one of:
- 0: miter join
- 1: round join
- 2: bevel join
dash element describes the line dash pattern.
There will be zero or more
dashelem children, each
with a value describing the length of a dash or gap. See the PDF (or
PostScript) reference manual for a more detailed explanation. A
plain, undashed line will have an empty dash pattern:
color element is the same as for fill
operations, including the tiling pattern case.
Paths are described below.
PathsPaths are used in both
strokeelements. A path consists of one or more subpaths. Each subpath starts with a
moveto, which is followed by a sequence of
closed="true") or open (
closed="false"). (For fill operations, all subpaths will be implicitly closed, so the
closedattribute can be ignored.)
are in the units specified by the
TextText drawing operations are represented by
resourceselement. The font size is in the units specified with the
The coordinates (
the origin of the text, and are in the units specified by
The rotation angle is 0, 90, 180, or 270, indicating the text direction, in degrees counterclockwise from horizontal.
The mode is one of:
- 0: fill
- 1: stroke
- 2: fill and stroke
- 3: invisible
- 4: fill and clip
- 5: stroke and clip
- 6: fill, stroke, and clip
- 7: clip
color element is the same as used with word
text element contains the text of the word
(converted to Unicode).