Graphics Programs Reference
In-Depth Information
pdftk input.pdf decompress output output.pdf
writes input.pdf to output.pdf with the streams uncompressed.
Figure 5-1. Defining and stroking a single line
Operators and Graphics State
A content stream consists of a series of operators , each preceded by zero or more
operands . Table 5-1 lists the 78 graphics operators in 6 groups. In this chapter, we'll be
looking at selected operators from the first four groups.
Table 5-1. PDF graphics operators
Group
Used for
Operators
Graphics state operators
Changing the graphics state (current
color, stroke width etc).
w J j M d ri i gs q Q cm CS
cs SC SCN sc scn G g RG rg
K k
Path construction operators
Building lines, curves and rectangles.
m l c v y h re
Path painting operators
Stroke and fill paths, or use them to define
clipping regions.
S s f F f* B B* b b* n W W*
 
Search WWH ::




Custom Search