Did I find the right examples for you? yes no

All Samples(8)  |  Call(8)  |  Derive(0)  |  Import(0)
Flip the image vertically (top to bottom).

:param image: The image to flip.
:return: An image.

        def flip(image):
    """
    Flip the image vertically (top to bottom).

    :param image: The image to flip.
    :return: An image.
    """
    return image.transpose(Image.FLIP_TOP_BOTTOM)
        


src/d/j/django-tint-0.1/tint/imageprocs/default.py   django-tint(Download)
    def flip(self, image, params):
        return ImageOps.flip(image)
 
    def mirror(self, image, params):
        return ImageOps.mirror(image)

src/d/j/django-tint-HEAD/tint/imageprocs/default.py   django-tint(Download)
    def flip(self, image, params):
        return ImageOps.flip(image)
 
    def mirror(self, image, params):
        return ImageOps.mirror(image)

src/n/u/nupic-HEAD/py/regions/ImageSensorFilters/Flip.py   nupic(Download)
    """
    BaseFilter.process(self, image)
    newImage = ImageOps.flip(image)
    return newImage
 

src/o/p/OpenGLContext-2.3.0b1/OpenGLContext/texture.py   OpenGLContext(Download)
    def pilAsString( image ):
        """Convert PIL image to string pointer"""
        image = ImageOps.flip( image )
        return image.tostring("raw", image.mode, 0, -1)
    def ensureRGB( self, image ):

src/p/i/Pillow-2.4.0/Tests/test_imageops.py   Pillow(Download)
    ImageOps.fit(lena("RGB"), (128, 128))
 
    ImageOps.flip(lena("L"))
    ImageOps.flip(lena("RGB"))
 

src/p/i/Pillow-HEAD/Tests/test_imageops.py   Pillow(Download)
    ImageOps.fit(lena("RGB"), (128, 128))
 
    ImageOps.flip(lena("L"))
    ImageOps.flip(lena("RGB"))