>If you can bear having two copies in memory, Image.frombuffer() >generally does the trick. Also, does PIL have a contrast / scale option that is similar to zscale in ds9 or equalize in Image Magick? Jeremy