File: pil.txt

package info (click to toggle)
pyx3 0.16-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 3,880 kB
  • sloc: python: 22,065; ansic: 130; makefile: 93; sh: 8
file content (11 lines) | stat: -rw-r--r-- 504 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
Using image instances from the PIL

You can use image instances from the [Python Image Library
http://www.pythonware.com/products/pil] to create bitmaps. You then have an
easy access to all the bitmap formats available in PIL, you may also use PIL
features to create/load/modify bitmaps etc. ... In order to create an image
pixel by pixel, the PIL is not necessary (by the way, it is slow to use
putpixel for that).

!! Using PIL image instances you can also pass indexed images
to PyX's `bitmap` class.