OnWorks favicon

jpegexiforient - Online in the Cloud

Run jpegexiforient in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command jpegexiforient that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



jpegexiforient - reads or writes the Exif Orientation Tag


jpegexiforient [switches] jpegfile


This is a utility program to get and set the Exif Orientation Tag. It can be used
together with jpegtran in scripts for automatic orientation correction of digital camera

The Exif orientation value gives the orientation of the camera relative to the scene when
the image was captured. The relation of the '0th row' and '0th column' to visual position
is shown as below.

Value | 0th Row | 0th Column
1 | top | left side
2 | top | right side
3 | bottom | right side
4 | bottom | left side
5 | left side | top
6 | right side | top
7 | right side | bottom
8 | left side | bottom

For convenience, here is what the letter F would look like if it were tagged correctly and
displayed by a program that ignores the orientation tag:

1 2 3 4

888888 888888 88 88
88 88 88 88
8888 8888 8888 8888
88 88 88 88
88 88 888888 888888

5 6 7 8

8888888888 88 88 8888888888
88 88 88 88 88 88 88 88
88 8888888888 8888888888 88

jpegexiforient output the Exif Orientation Tag in a JPEG Exif file. With the options -1
.. -8, it can also be used to set the tag.

--help display this help and exit

output version information and exit

-n Do not output the trailing newline

-1 .. -8
Set orientation value 1 .. 8

Use jpegexiforient online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Strikr Free Software project. Artifacts
    released under a 'intent based'
    dual license: AGPLv3 (community) and
    CC-BY-NC-ND 4.0 international
    Download strikr
  • 3
    giflib is a library for reading and
    writing gif images. It is API and ABI
    compatible with libungif which was in
    wide use while the LZW compression
    algorithm was...
    Download GIFLIB
  • 4
    Alt-F provides a free and open source
    alternative firmware for the DLINK
    DNS-320/320L/321/323/325/327L and
    DNR-322L. Alt-F has Samba and NFS;
    supports ext2/3/4...
    Download Alt-F
  • 5
    Usm is a unified slackware package
    manager that handles automatic
    dependency resolution. It unifies
    various package repositories including
    slackware, slacky, p...
    Download usm
  • 6
    Chart.js is a Javascript library that
    allows designers and developers to draw
    all kinds of charts using the HTML5
    canvas element. Chart js offers a great
    array ...
    Download Chart.js
  • More »

Linux commands