Method: Magick::Image#auto_orient
- Defined in:
- ext/RMagick/rmimage.cpp
#auto_orient ⇒ Magick::Image
Rotates or flips the image based on the image’s EXIF orientation tag.
Note that only some models of modern digital cameras can tag an image with the orientation. If the image does not have an orientation tag, or the image is already properly oriented, then #auto_orient returns an exact copy of the image.
1293 1294 1295 1296 1297 1298 |
# File 'ext/RMagick/rmimage.cpp', line 1293
VALUE
Image_auto_orient(VALUE self)
{
rm_check_destroyed(self);
return auto_orient(False, self);
}
|