[Image-SIG] SGI format

Fredrik Lundh fredrik at pythonware.com
Mon Sep 24 18:33:45 CEST 2007


William Baxter wrote:

> Does anyone have any experience with the SGI RGB format? The PIL
> documentation says SGI images are 'read only'. Image does open them, but
> then it seems you can't get at the data. Any convert, copy, getpixel
> commands give an error:
> 
>     raise IOError("decoder %s not available" % decoder_name)
> IOError: decoder sgi_rle not available

PIL only reads uncompressed SGI images; the reference to "sgi_rle" 
indicates that your images are run-length encoded.

Unfortunately, I cannot say that improving the SGI support is high on
my todo-list; the SGI driver was written in September 1995 (!), and I 
don't think anyone's ever asked about this since then...

</F>



More information about the Image-SIG mailing list