[Image-SIG] Writing a "Raw" Image to a File

Wayne Watson sierra_mtnview at sbcglobal.net
Sat Apr 11 17:08:56 CEST 2009


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 
          



More information about the Image-SIG mailing list