Home | History | Annotate | Download | only in png

Lines Matching refs:typecode

261     out = array(ipixels.typecode)
2049 typecode = 'BH'[meta['bitdepth']>8]
2061 yield array(typecode,
2166 typecode = 'BH'[meta['bitdepth'] > 8]
2169 a = array(typecode, [0]) * 3 * width
2188 typecode = 'BH'[meta['bitdepth'] > 8]
2190 maxbuffer = struct.pack('=' + typecode, maxval) * 4 * width
2192 return array(typecode, maxbuffer)
2258 def __new__(cls, typecode, init=None):
2260 it = super_new(cls, typecode)
2272 return super_extend(self.true_array(self.typecode, extension))
2276 def array(typecode, init=()):