Page 1 of 1

Get Exif orientation

Posted: Tue Apr 13, 2010 7:13 am
by durumdara
Hi!

I have a Python program that make thumbnails and conversions - and it uses nconvert.

One thing not working with it.

Prev. I used PhotoShop COM, and if I convert the pictures, the orientation corrected to right image direction.

But nconvert not do this, and all of my converted pictures are placed as image data oriented - the EXIF is ignored (as in many mail clients, explorer, etc.).

I search for a way to correct this before I show it. Can I do it with nconvert, or other xnview tool? Or can I get info from picture's exif orientation to rotate it by my program?

Thanks for your help:
dd

Re: Get Exif orientation

Posted: Thu Apr 15, 2010 7:18 am
by xnview
You would like to load picture with the good orientation (using EXIF orientation) in NConvert?

Re: Get Exif orientation

Posted: Thu Apr 15, 2010 7:24 am
by durumdara
Hi!

Yes, that is my wish, or get some info from orientation to make pre-rotation in image.
Because data orientation is not same as in Exif, and PIL, and wxPython is not uses the Exif info - so I got images that are not in good direction.

Thanks:
dd

Re: Get Exif orientation

Posted: Thu Apr 15, 2010 7:44 am
by xnview
Do you have tried to use -jpegtrans exif (Be careful, works on original file)

Re: Get Exif orientation

Posted: Wed Apr 21, 2010 4:33 pm
by durumdara
xnview wrote:Do you have tried to use -jpegtrans exif (Be careful, works on original file)
Hi!

Hmmm... This is really working - in Windows. In Linux I have a problem that website show 5.60 (linux), but the version of the file is 4.51, and this kind of suboption (exif) not supported...

So I'm confused now, please help me!

Thanks:
dd

Re: Get Exif orientation

Posted: Thu Apr 22, 2010 6:32 am
by xnview
durumdara wrote:
xnview wrote:Do you have tried to use -jpegtrans exif (Be careful, works on original file)
Hmmm... This is really working - in Windows. In Linux I have a problem that website show 5.60 (linux), but the version of the file is 4.51, and this kind of suboption (exif) not supported...
You don't use the same version of NConvert?

Re: Get Exif orientation

Posted: Thu Apr 22, 2010 7:13 am
by durumdara
Dear Pierre!
You don't use the same version of NConvert?
I cannot use nconvert same version, because:

1.) I opened this page:
http://www.xnview.com/en/download_nc.html

2.) Saw this line:
Linux x86 NConvert v5.60

3.) I downloaded the tgz to my ubuntu.

4.) Opened with default archiver.

5.) Extracted all info to ~/NConvert

6.) started the nconvert

7.) I saw 4.51 - not 5.60.

So may something wrong, and I want to know, what is wrong.
a.) Wrong uploaded archive.
b.) Wrong version text in the nconvert.
c.) Wrong version of the nconvert.
d.) In my side - may the archiver wrong...?

Thanks for your answer and help:
dd

Re: Get Exif orientation

Posted: Fri Apr 23, 2010 9:16 am
by xnview
Today there will be a new version of NConvert