[Image-SIG] Writing a "Raw" Image to a File
Lucas
rollbak at gmail.com
Sat Apr 11 21:38:17 CEST 2009
Hello,
Just a simple call to img.save("filename" [, "extension"])
regards,
Lucas
On Sat, Apr 11, 2009 at 12:08 PM, Wayne Watson
<sierra_mtnview at sbcglobal.net> wrote:
> I have an image of described as:
> Img Info---------------->: {}
> size: (640, 480)
> format: None
> mode: P
> palette: <ImagePalette.ImagePalette instance at 0x02393378>
> bands: ('P',)
> type: <type 'instance'>
>
> I'd like to write it to a file. Apparently, I need to convert it to a string
> first. How do I do that?
> --
>
> Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
>
> (121.01 Deg. W, 39.26 Deg. N) GMT-8 hr std. time)****
>
> "In arithemtic as in politics, the importance of one is
> determined by the number of zeros behind it." -- Anon
> _______________________________________________
> Image-SIG maillist - Image-SIG at python.org
> http://mail.python.org/mailman/listinfo/image-sig
>
--
Lucas Shrewsbury
----------------------------------------------------
Open Your Mind, Use Open Source
More information about the Image-SIG
mailing list