Did I find the right examples for you? yes no

All Samples(11)  |  Call(11)  |  Derive(0)  |  Import(0)
Flip image horizontally (left to right).

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

        def mirror(image):
    """
    Flip image horizontally (left to right).

    :param image: The image to mirror.
    :return: An image.
    """
    return image.transpose(Image.FLIP_LEFT_RIGHT)
        


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

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

src/n/u/nupic-HEAD/py/regions/ImageSensorFilters/Mirror.py   nupic(Download)
    """
    BaseFilter.process(self, image)
    newImage = ImageOps.mirror(image)
    if not self.both:
      return newImage

src/h/t/HTM-Camera-Toolkit-HEAD/src/CameraFrame.py   HTM-Camera-Toolkit(Download)
 
      # Mirror, which is more intuitive for built-in cameras
      image = ImageOps.mirror(image)
      image0 = ImageOps.mirror(image0)
 

src/h/t/HTM-Camera-Toolkit-HEAD/src/NetworkFrame.py   HTM-Camera-Toolkit(Download)
 
    # Mirror if using camera, this is more intuitive for webcams
    frameOut = ImageOps.mirror(frameOut)
 
    if self._videoWriter: #if recording enabled, write out to the video file

src/e/a/eagexp-0.1.0/eagexp/image.py   eagexp(Download)
        # save dpi info
        info = im.info
        im = ImageOps.mirror(im)
        im.save(output, **info)
 

src/p/i/Pillow-2.4.0/Tests/test_imageops.py   Pillow(Download)
    ImageOps.invert(lena("RGB"))
 
    ImageOps.mirror(lena("L"))
    ImageOps.mirror(lena("RGB"))
 

src/p/i/Pillow-HEAD/Tests/test_imageops.py   Pillow(Download)
    ImageOps.invert(lena("RGB"))
 
    ImageOps.mirror(lena("L"))
    ImageOps.mirror(lena("RGB"))