3 image_bw
= bitmap
.image(2, 2, "L", b
"\0\377\377\0")
4 image_rgb
= bitmap
.image(3, 2, "RGB", b
"\77\77\77\177\177\177\277\277\277"
5 b
"\377\0\0\0\377\0\0\0\377")
6 bitmap_bw
= bitmap
.bitmap(0, 1, image_bw
, height
=0.8)
7 bitmap_rgb
= bitmap
.bitmap(0, 0, image_rgb
, height
=0.8)
12 c
.writeEPSfile("minimal")
13 c
.writePDFfile("minimal")