Running the following script should produce a series of
blocks of the 256 shades of grey between and including
black and white.
pbb = pyx.bitmap.bitmap
pbi = pyx.bitmap.image
c = pyx.canvas.canvas()
for i in xrange(256):
Instead, it produces either an all-white or all-black
image at random. This is the case when using Windows
2000, Python 2.3 and 2.4, and is verifiable in both
Adobe Acrobat 7 and Foxit Reader 1.3 . Adjusting the
above code as necessary for RGB images does not fix the
The problem exists for the two most recent versions of PyX.
Log in to post a comment.