def get_data(self): return pyf.pyfp_img_get_data(self.img)
def data(self): """ Return a string containing one byte per pixel, representing a grayscale image. """ return pyf.pyfp_img_get_data(self._img)