Rotate JPG images losslessly using the EXIF orientation tag

http://www.abc-view.com/articles/article5.html

 

 

A great idea from one of our users made into reality!

Some modern digital cameras now sense the orientation of the camera at the moment of capture.

This information is stored in the EXIF data, using the "Orientation Tag". ABC-View Manager is able to display this information, use Item -> Properties and then click the Tags tab.

The orientation tag can have 8 different values, presenting 8 different kinds of orientation that a picture can have.

Note that only some models of modern digital cameras support this option.

These are the values that can be present in the orientation tag. For a technical background, please refer to the excellent description on jpegclub.org .

 

Value0th Row0th Column
1topleft side
2topright side
3bottomright side
4bottomleft side
5left sidetop
6right sidetop
7right sidebottom
8left sidebottom

 

 

 

 

 

 

Here is another description given by Adam M. Costello:

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         5            6           7          8

888888  888888      88  88      8888888888  88                  88  8888888888
88          88      88  88      88  88      88  88          88  88      88  88
8888      8888    8888  8888    88          8888888888  8888888888          88
88          88      88  88
88          88  888888  888888

ABC-View Manager is now able to use this information and perform a lossless rotation or flipping action on your images, smartly using this value.

How to do it?

Select some images, using [Ctrl] or [Shift] for multiple. You can select all files with [Ctrl-A]. Then select:

Tools -> Lossless -> Rotate using EXIF flag

Notice that you can exactly see what ABC-View Manager is going to do with each file. The column "Exif Orientation Flag" shows the value of the EXIF flag, and "Action" shows what kind of operation will be done on the file.

When the file is rotated or flipped, a value of 1 will be substituted in the EXIF field, to signal that the rotation is completed. This will avoid doing the operation accidentally twice.

ABC-View Manager also keeps the file date of the file intact.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值