(self)
return self.__pixels
:return list: RGB tuples.
:return list: RGB tuples.
: return list : RGB tuples .
def pixels(self):
        # type: () -> Pixels
        """
        :return list: RGB tuples.
        """

        if not self.__pixels:
            rgb_tuples = zip(
                self.raw[2::4], self.raw[1::4], self.raw[0::4]
            )  # type: Iterator[Pixel]
            self.__pixels = list(zip(*[iter(rgb_tuples)] * self.width))  # type: ignore

        return self.__pixels
def pixels ( self ) : # type: () -> Pixels if not self . __pixels : rgb_tuples = zip ( self . raw [ 2 : : 4 ] , self . raw [ 1 : : 4 ] , self . raw [ 0 : : 4 ] ) # type: Iterator[Pixel] self . __pixels = list ( zip ( * [ iter ( rgb_tuples ) ] * self . width ) ) # type: ignore return self . __pixels