View Full Version : stripping the exif info??
nat869
5th of January 2005 (Wed), 22:42
Alright, before I started shooting raw, I took a bunch of pics in jpeg. The problem is when I open some images, it comes up in the correct orientation (portrait) but on the windows thumbnail it looks wrong (landscape), also when I open the image in a web browser it also looks wrong. Whats up? I figure that if I can remove the exif info from the jpegs I can sort the images out and rotate them correctly. I have a 10D, have never loaded the canon software, at least I shoot raw now. Any help is appreciated.
kawter2
6th of January 2005 (Thu), 00:28
can't you just enable "auto rotate" in-camera?
are you against that function? Please forgive me if I have misunderstood your question
nat869
6th of January 2005 (Thu), 07:57
I do have auto rotate on, which is why I am confused about the orientation being wrong when they open in a web browser or how the thumbnails look. I always thought the pic should look the same in photoshop and in a web browser.
cmM
6th of January 2005 (Thu), 08:33
I always thought the pic should look the same in photoshop and in a web browser.Me too...
You can strip the EXIF info by "save for web" in PS. But what does one have to do with the other?
kawter2
6th of January 2005 (Thu), 08:34
there is a vertical sensor in your camera and it doesn't seem that is is working.
bertelm
6th of January 2005 (Thu), 09:03
I have encountered the same problem. I take a portraite picture and the camera "auto-rotates" the picture so it is shown correctly on the LCD display. However, when I transfer the picture to my computer, the picture is shown on it's side (not rotated) is certain programs only. Photoshop displays it correctly, but other programs do not. Once the picture is saved by photoshop, all other programs display it correctly.
It would stand to reason that the problem is not with the camera, or the picture, but with the program displaying the picture. I would guess that the camera doesn't actually alter the picture, but just specifics that it is "portraite" int he exif info. If your graphics package uses this exif info, it will display it correctly (like photoshop), otherwise (like your web browswer), it will not.
nat869
6th of January 2005 (Thu), 09:08
Me too...
You can strip the EXIF info by "save for web" in PS. But what does one have to do with the other?
Cool, I will try that........I am pretty much a a dud with photoshop, but I am learning. Some of the issues probably happened because I used windows xp to rotate the thumbnails, thinking I was rotating the actual pic. That did not help matters at all. Thanks for all the replys and help....tonite I will experimant with actions and see if I can fix them up. I am hoping with no exif info, I can sort everything out by looking at the thumbnails and rotating the pics that need it.
edsarkiss
6th of January 2005 (Thu), 10:57
the picture orientation is stored as a flag in the EXIF data. the camera ALWAYS saves the image in landscape mode. if you strip the EXIF info, you will still ALWAYS have a JPEG in landscape mode, but with no information about orientation. i don't think you want this.
some programs will pay attention to this orientation flag, and rotate the image when displaying it to you (e.g. photoshop).
there are utilities that will losslessly (without decompressing and recompressing the image) rotate the actual JPEG image based on the orientation flag in the EXIF data. on windows, you can use Irfanview (http://www.irfanview.com/) to do this.
on Linux and FreeBSD, you can use a tool called 'jpegtran', though you have to tell it which way to rotate. I wrote a small perl program that reads the EXIF data and tells jpegtran how to rotate the image. if anyone is interested in this, PM me and i can send you a copy. keep in mind this is ONLY for Linux or FreeBSD, not windows.
Rendezvous
6th of January 2005 (Thu), 14:29
It seems if for some reason I download the photos off the 300D using the windows picture wizard, then you don't get the auto rotate, however if I use the Canon software it works fine.
Jon
6th of January 2005 (Thu), 14:32
Do you mean that if you download them with Windows Picture Wizard they won't auto-rotate even in Zoom Browser or PhotoShop? If that's the case, is the rest of the EXIF information still there?
phili1
6th of January 2005 (Thu), 18:53
All you have to do is right click on a browswer window and select rotate.
edsarkiss
6th of January 2005 (Thu), 19:08
All you have to do is right click on a browswer window and select rotate.
if you're talking about Windows Explorer or the "Windows Picture and Fax Viewer", note that Microsoft's rotation is lossy -- as you rotate, the image (filesize) will get smaller.
irfanview (http://www.irfanview.com/) does lossless rotation on windows.
nat869
6th of January 2005 (Thu), 21:32
HELP!!!
Ok, I used PS and did the save for web option. Everything looked great, the picture rotation matched the thumbnail in both PS and a web browser, so I rotated the ones that needed it, but after saving them.........I am back to the same problem!!! The thumbnail matches what shows in the web browser, but it is rotated wrong again when in PS. Whats up????
phili1
7th of January 2005 (Fri), 03:56
I was talking in Photoshop, and it does not effect the size there.
Nat I am not sure what is happening, usually when you rotate in the browser it remembers it and will open it properly..
In my Camera I have auto rotate selected, and never have a problem, except once in a while I get that but when I rotate in the file browser it stays that way.
vBulletin® v3.6.12, Copyright ©2000-2012, Jelsoft Enterprises Ltd.