Lines Matching refs:sbit
1809 self.sbit = None
1861 self.sbit = data
2021 if not self.colormap and not self.trns and not self.sbit:
2065 if self.sbit:
2066 sbit = struct.unpack('%dB' % len(self.sbit), self.sbit)
2067 targetbitdepth = max(sbit)
2070 (sbit,self.bitdepth))
2071 if min(sbit) <= 0:
2072 raise Error('sBIT chunk %r has a 0-entry' % sbit)
2688 sbit = Reader(bytes=bytes).chunk('sBIT')[1]
2689 self.assertEqual(sbit, strtobytes('\x04\x04'))
2741 sbit = r.chunk('sBIT')[1]
2742 self.assertEqual(sbit, strtobytes('\x01\x01\x01'))