if self.bitdepth == 16:
                raw = tostring(raw)
                return array(str('H'), struct.unpack('!%dH' % (len(raw)//2), raw))