HomeSort by relevance Sort by last modified time
    Searched refs:imgformat (Results 1 - 4 of 4) sorted by null

  /external/python/cpython2/Lib/plat-mac/
PixMapWrapper.py 17 import imgformat
161 def fromstring(self,s,width,height,format=imgformat.macrgb):
163 Supply width, height, and one of the imgformat specifiers."""
166 if format != imgformat.macrgb and format != imgformat.macrgb16:
173 if format == imgformat.macrgb:
181 def tostring(self, format=imgformat.macrgb):
184 if (format == imgformat.macrgb and self.pixelSize == 32) or \
185 (format == imgformat.macrgb16 and self.pixelsize == 16):
videoreader.py 29 from imgformat import macrgb
  /external/python/cpython2/Mac/Demo/imgbrowse/
mac_image.py 2 import imgformat
8 imgformat.macrgb16 : (16, 16, 3, 5),
imgbrowse.py 12 import imgformat
52 rdr = img.reader(imgformat.macrgb16, pathname)
60 pixmap = mac_image.mkpixmap(w, h, imgformat.macrgb16, data)

Completed in 1110 milliseconds