Provided by: konqueror-plugin-imagerotation_4.2.2-0ubuntu1_i386
orient.py - change the orientation of a digital camera image file
orient.py [1-8] image-file
This is a small script for changing the orientation of certain types of
digital camera image files. The image data is not modified, but rather
the EXIF tags stored with the image are altered to reflect the new ori‐
entation. For this reason only images with the correct types of EXIF
tags can be changed using this script.
When called with with a numeric argument from 1 to 8, the orientation
will be changed as described in the options section below. When called
with only a filename, the current orientation will be written to the
console (also as a number from 1 to 8).
If the image contains no EXIF information or if the EXIF information is
not of the correct type, an error will be displayed and this script
will exit immediately.
This script is provided with the image conversion and transformation
plugins for Konqueror. For a more general-purpose JPEG rota‐
tion/reflection tool, see jpegorient(1) which is also a part of this
same set of plugins.
This utility is part of the official KDE add-ons module.
The possible orientations are represented by the numbers 1 to 8 as fol‐
1 No change of orientation.
2 Flip horizontally.
3 Rotate by a half turn (i.e., 180 degrees).
4 Flip vertically.
5 Transpose image (i.e., reflect across the upper-left to lower-
right diagonal axis).
6 Rotate by 90 degrees clockwise.
7 Transverse transpose image (i.e., reflect across the upper-right
to lower-left diagonal axis).
8 Rotate by 270 degrees clockwise (i.e., 90 degrees counter-clock‐
exif.py(1), jpegorient(1), konqueror(1).
The image transformation plugins were written by Leif Jensen
This manual page was prepared by Ben Burton <email@example.com> for the
Debian GNU/Linux system (but may be used by others).
October 13, 2004 ORIENT.PY(1)