parameters: (self)
docstring: Create an LA image with bitdepth 4.
docstring_summary: Create an LA image with bitdepth 4.
docstring_tokens: Create an LA image with bitdepth 4 .
function: def testLA4(self):
          """Create an LA image with bitdepth 4."""
          bytes = topngbytes('la4.png', [[5, 12]], 1, 1,
            greyscale=True, alpha=True, bitdepth=4)
          sbit = Reader(bytes=bytes).chunk('sBIT')[1]
          self.assertEqual(sbit, strtobytes('\x04\x04'))
function_tokens: def testLA4 ( self ) : bytes = topngbytes ( 'la4.png' , [ [ 5 , 12 ] ] , 1 , 1 , greyscale = True , alpha = True , bitdepth = 4 ) sbit = Reader ( bytes = bytes ) . chunk ( 'sBIT' ) [ 1 ] self . assertEqual ( sbit , strtobytes ( '\x04\x04' ) )