class ImageVise::AutoOrient

Applies ImageMagick auto_orient to the image, so that i.e. mobile photos can be oriented correctly. The operation is applied destructively (changes actual pixel data)

The corresponding Pipeline method is `auto_orient`.

Public Instance Methods

apply!(magick_image) click to toggle source
# File lib/image_vise/operators/auto_orient.rb, line 6
def apply!(magick_image)
  magick_image.auto_orient!
end