Go Back   Velocity Reviews > Newsgroups > Digital Photography
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

Digital Photography - How to automatically lossless rotate pictures in WinXP (keyword is automatic)

 
Thread Tools Search this Thread
Old 05-21-2008, 04:43 PM   #1
Default How to automatically lossless rotate pictures in WinXP (keyword is automatic)


Is there a way in Windows to automatically orient portraits head-side up?

I only snap portraits (anything else is a postcard, in my opinion) ... and
I often orient the camera at 90, 180, or 270 degrees of normal - therefore
I find myself tediously stepping through hundreds of photos in Irfanview
freeware and hitting the shift + J button to losslessly rotate the
photographs (utilizing the free "JPG Lossless Operations" plugin), manually
choosing the orientation each time, whether it be 90 degrees, 180 degrees,
or 270 degrees - and then moving on to the next photo.

But, I snap hundreds of pictures a day and this manual method gets
laborious. Plus, I can't be the only one with this very same problem
(everyone must have it) so it's worth asking ...

Is there a freeware program that can 'sense' the orientation and
automatically rotate the pictures? Probably not but it's worth asking the
question as the worst we'll get back is nothing more than we had, yet the
best that can come of it (as it often does in group help), is we find the
solution to the problem.

So, I ask ...

Do you know of a Windows freeware program that automatically orients
pictures losslessly, in batch mode?


Donna
  Reply With Quote
Old 05-21-2008, 05:08 PM   #2
Bert Hyman
 
Posts: n/a
Default Re: How to automatically lossless rotate pictures in WinXP (keyword is automatic)
In news:SpXYj.4$ Donna <>
wrote:

> Do you know of a Windows freeware program that automatically orients
> pictures losslessly, in batch mode?


If your camera included the orientation info in the EXIF data (my Canon
S3 does), IrfanView could do it for you
(Properties/Settings->JPG/PCD/GIF->Auto-rotate image), although I'm
not sure about doing it in batch mode.

So, if you can't find anything that can reliably figure this out based
solely on examining the pixels in the image, here's an excuse to buy a
new camera.

--
Bert Hyman St. Paul, MN


Bert Hyman
  Reply With Quote
Old 05-21-2008, 05:22 PM   #3
me@mine.net
 
Posts: n/a
Default Re: How to automatically lossless rotate pictures in WinXP (keyword is automatic)
On Wed, 21 May 2008 08:43:20 -0700, in rec.photo.digital Donna
<> wrote:

>Is there a way in Windows to automatically orient portraits head-side up?


Many cameras have a setting to automatically do just this. Does yours?


me@mine.net
  Reply With Quote
Old 05-21-2008, 07:14 PM   #4
Paul Furman
 
Posts: n/a
Default Re: How to automatically lossless rotate pictures in WinXP (keywordis automatic)
wrote:
> On Wed, 21 May 2008 08:43:20 -0700, in rec.photo.digital Donna
> <> wrote:
>
>> Is there a way in Windows to automatically orient portraits head-side up?

>
> Many cameras have a setting to automatically do just this. Does yours?


But doesn't that normally only work with the camera maker's software?

--
Paul Furman
www.edgehill.net
www.baynatives.com

all google groups messages filtered due to spam


Paul Furman
  Reply With Quote
Old 05-21-2008, 09:28 PM   #5
me@mine.net
 
Posts: n/a
Default Re: How to automatically lossless rotate pictures in WinXP (keyword is automatic)
On Wed, 21 May 2008 11:14:23 -0700, in rec.photo.digital Paul Furman
<paul-@-edgehill.net> wrote:

> wrote:
>> On Wed, 21 May 2008 08:43:20 -0700, in rec.photo.digital Donna
>> <> wrote:
>>
>>> Is there a way in Windows to automatically orient portraits head-side up?

>>
>> Many cameras have a setting to automatically do just this. Does yours?

>
>But doesn't that normally only work with the camera maker's software?


PSCS2 works for jpgs taken directly in my D70. But I guess your point is
valid. Irfanview didn't, nor XP. Guess I was mainly thinking about the raw
converters I've used. Guess this is another small benefit of shooting raw.
The converters recognize the autorotate setting and the resulting jpgs are
properly oriented.


me@mine.net
  Reply With Quote
Old 05-21-2008, 11:24 PM   #6
David Bolt
 
Posts: n/a
Default Re: How to automatically lossless rotate pictures in WinXP (keyword is automatic)
On Wed, 21 May 2008, Donna wrote:-

>Do you know of a Windows freeware program that automatically orients
>pictures losslessly, in batch mode?


If you're not bothered about using a command line, a combination of
jhead[0] and jpegtran[1] will do the job. You can rotate single images
using:

jhead -ft -autorot "filename.jpg"

multiple files by using

jhead -ft -autorot "*.jpg"

and recursively do whole directories by using something like:

jhead -ft -autorot "**\*.jpg"

This is the same tool I use under Linux to do auto-rotation[2] of
images, and it works very well there


[0] <URL:http://www.sentex.net/~mwandel/jhead/>

[1] <URL:http://gnuwin32.sourceforge.net/packages/jpeg.htm>

[2] Not sure where I found it, but I have a couple of .desktop files
that adds this auto-rotation to KDE's right-click menu, both for single
files and directories.

Regards,
David Bolt

--
Team Acorn: http://www.distributed.net/ OGR-P2 @ ~100Mnodes RC5-72 @ ~15Mkeys
SUSE 10.1 32bit | openSUSE 10.2 32bit | openSUSE 10.3 32bit | openSUSE 11.0b3
SUSE 10.1 64bit | openSUSE 10.2 64bit | openSUSE 10.3 64bit
RISC OS 3.6 | TOS 4.02 | openSUSE 10.3 PPC | RISC OS 3.11


David Bolt
  Reply With Quote
Old 05-22-2008, 02:12 AM   #7
Jeff R.
 
Posts: n/a
Default Re: How to automatically lossless rotate pictures in WinXP (keyword is automatic)

"Donna" <> wrote in message
news:SpXYj.4$...
> Is there a way in Windows to automatically orient portraits head-side up?
>
> I only snap portraits (anything else is a postcard, in my opinion) ... and
> I often orient the camera at 90, 180, or 270 degrees of normal


180° ?
Fascinating!

Is your name Douglas?

--
Jeff R.




Jeff R.
  Reply With Quote
Old 05-22-2008, 03:16 AM   #8
Bruce.
 
Posts: n/a
Default Re: How to automatically lossless rotate pictures in WinXP (keyword is automatic)
"Donna" <> wrote in message
news:SpXYj.4$...
> Is there a way in Windows to automatically orient portraits head-side up?
>
> I only snap portraits (anything else is a postcard, in my opinion) ... and
> I often orient the camera at 90, 180, or 270 degrees of normal - therefore
> I find myself tediously stepping through hundreds of photos in Irfanview
> freeware and hitting the shift + J button to losslessly rotate the
> photographs (utilizing the free "JPG Lossless Operations" plugin),
> manually
> choosing the orientation each time, whether it be 90 degrees, 180 degrees,
> or 270 degrees - and then moving on to the next photo.
>
> But, I snap hundreds of pictures a day and this manual method gets
> laborious. Plus, I can't be the only one with this very same problem
> (everyone must have it) so it's worth asking ...
>
> Is there a freeware program that can 'sense' the orientation and
> automatically rotate the pictures? Probably not but it's worth asking the
> question as the worst we'll get back is nothing more than we had, yet the
> best that can come of it (as it often does in group help), is we find the
> solution to the problem.
>
> So, I ask ...
>
> Do you know of a Windows freeware program that automatically orients
> pictures losslessly, in batch mode?


Yes, FastStone Image Viewer. I just started using it and it can
automatically batch rotate pictures based on the orientation flag in the
EXIF data. I use it with my Canon and it works great and automatically.

http://www.faststone.org/

Tools -> JPEG Lossless Rotate -> Auto Rotate Based on EXIF Orientation Tag.

Bruce.




Bruce.
  Reply With Quote
Old 05-22-2008, 05:54 AM   #9
Donna
 
Posts: n/a
Default Re: How to automatically lossless rotate pictures in WinXP (keyword is automatic)
On 21 May 2008 16:08:41 GMT, Bert Hyman wrote:

> If your camera included the orientation info in the EXIF data
> IrfanView could do it for you
> (Properties/Settings->JPG/PCD/GIF->Auto-rotate image)


Hi Bert,
This is interesting information that I was unaware of.

If I look at a picture that is "normal" (head up, no rotation needed), my
Irfanview "info" command (i) tells me the EXIF "Orientation" is "Top left".

For a picture with the head to the left (needs 90 degree clockwise
rotation), the EXIF "Orientation" is "Right top".

And, for a picture with the head to the right (needs 270 degree clockwise
rotation), the EXIF "Orientation" is "Left bottom".

I'm not sure I get the algorthm, but, I'll try to draw it below.

X----------+ +----------X +----------+
| ^ | | | | |
| ^ | | < < < | | > > > |
| ^ | | | | |
+----------+ +----------+ X----------+
EXIF Orientation EXIF Orientation EXIF Orientation
X=Top left X=Right top X=Left bottom

I'm not sure I get the algorithm.
Can someone explain the logic of this EXIF Orientation tag?


Donna
  Reply With Quote
Old 05-22-2008, 06:01 AM   #10
Donna
 
Posts: n/a
Default Re: How to automatically lossless rotate pictures in WinXP (keyword is automatic)
On 21 May 2008 16:08:41 GMT, Bert Hyman wrote:

> IrfanView could do it for you
> (Properties/Settings->JPG/PCD/GIF->Auto-rotate image)


Hi Bert,

Even though I don't understand the logic of the EXIF Orientation tag (see
previous post), I tried this Irfanview 4.00 command on the three files
previously described.

Options->Properties->JPG/PCD/GIF->JPEG-Load:
[x]Auto-rotate image according to EXIF info (if available)

Amazingly, when I used Irfanview freeware to step through a batch of
photos, they displayed upright, like they should.

However, nothing was saved so the photographs kept their original EXIF
orientation tags.

So, the Irfanview option of "Auto-rotate" is only ephemeral.
But, the good news is my camera saves the EXIF orientation information and
that Irfanview freeware understands it.

I'll dig a bit more to see if we can get Irfanview to save the uprighted
EXIF orientation flag, and if it can do so in batch mode.


Donna
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make your wonderful photo and video slideshow on DVD kricww@gmail.com DVD Video 0 04-20-2006 07:26 AM
Re: How do I keep applications automatically loading in WinXP Nil A+ Certification 0 03-07-2006 04:05 PM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46