Discussions (2205)

Gimp Stripping Exif

view profile

AccidntlTourist says:

Howdy, just joined. This group looks like a great GIMP resource. I searched previous posts here, but didn’t see any with this issue:

Gimp is stripping my exif. It didn’t used to; I wonder if it was a result of recent GIMP upgrade? to 2.2.11 ? or something I’m doing when saving pic?

(Same computer; windows XP)

I’ve looked at my preferences; don’t see any settings for exif.

Suggestions / speculations appreciated.
10:11PM, 18 May 2006 PDT (permalink)

view photostream

avidday says:

During the save process you will get the JPEG control dialog. Click advanced options and there is a "Save EXIF". Check it and you are done.
ages ago (permalink)

view photostream

tuxcomputers is a group administrator tuxcomputers says:

I always open the JPEG, save it as a lossless XCF file into a folder I call "Flickr-up", do my editing and repeat for all photos I will be doing in the session.

I then use "David's Batch Processor" to convert the entire lot into JPG's using a quality setting of 0.85. I upload all of them using the Flickr Upload tool. Once they are all uploaded I move the XCF files to a folder called "Flickr-done" and delete the JPG files.

David's batch processor can be downloaded from here.
ages ago (permalink)

view photostream

AccidntlTourist says:

GIMP losing Exif from TIF

Thank you avviday.
My tired old eyes didn’t see the grayed out exif option – not available to me.

As you can see, when I open a TIF image, I get an error (see screen shot); when I edit and go to save as a jpeg – the exif option is grayed out.

I’m saving my RAW to TIF in Olympus Camedia and then opening TIF in GIMP.

I see if I start with a jpeg, I’m okay; doesn’t like Camedia tif?
ages ago (permalink)

view photostream

avidday says:

Umm the standard TIFF format doesn't contain EXIF metadata. You can't save the EXIF information in that case because it doesn't exist to save.

The EXIF data you had was lost when the TIFF file you were working on was created.
Originally posted ages ago. (permalink)
avidday edited this topic ages ago.

view photostream

Thingo says:

'AccidntlTourist', I'm surprised you're using TIFF. My understanding is that TIFF is just a wrapper for any sort of image. It's generally quite sizeable.

I shoot RAW with my *istD, and convert using RawShooter from Pixmantec into JPG. If I wanted to put the Exif stuff back in, then I could do so with one of the little exif editing programs. But I wonder why?
ages ago (permalink)

reflective relation [deleted] says:

I take the RAW and load it in the GIMP using UFRaw. UFRaw keeps the metadata as a GIMP "parasite" data block. I then save as a .xcf.bz2 (compressed native file) the working file (usually with many layers to add masked sharpness, masked saturation tweaking, and burn/dodge), and when I'm all done I save as 100% JPEG. I hate JPEG. The concept of lossy images (and music, and...) offends me in some profound way. ;^) If the image makes sense (i.e. it's a high-contrast and mostly solid filled image, or B&W) I save as an appropriate PNG with level 9 compression.

Lossy is always the last step.
ages ago (permalink)

view photostream

prokoudine says:

EXIF data is actually stored in RAW. If EXIF is not available for you in GIMP's `Save As' dialog, then it's your RAW convertor the one to be blamed :)
ages ago (permalink)

view photostream

AccidntlTourist says:

Thanks for everyone’s input; reporting back.
"Gimp Stripping Exif" Okay, I'll take that statement back (sorry GIMP, please forgive me).

Thingo wrote –
“…I'm surprised you're using TIFF. …” My thinking here is two-fold – tiff contains more image info (may give me greater control when it comes to editing? And tiff is a good file to print from (?); should I choose to print (I go tiff to jpeg for the internet).
“….If I wanted to put the Exif stuff back in, then I could do so with one of the little exif editing programs. But I wonder why...”
Thingo, as a student of photography, I like reading other people’s exif. I also like to post mine, because it helps people offer advice on how to improve my shooting. But, after going thru all that I have learned in this thread, it’s just not worth the hassle. For my purposes, I can always go back and use Camedia to read exif in my RAW files on my computer, if I want.

I went to a classic car show last Saturday and shot 99 pictures. I used ufraw (instead of Olympus Camedia) to process the RAW images and then GIMP. I spent a couple days learning and practicing on those pics. I was happy with what ufraw did:

www.flickr.com/photos/accidntl/sets/72157594143621557/
I was happy with the way the pics came out, but after I finished working and uploading those images with ufraw and GIMP, I went back and tried a few with my old method (Camedia – exposure and noise reduction) and then GIMP. I discovered that Camedia did a much better job of removing the noise.

I was very impressed with ufraw; compact, fast, stable, lots of controls.
My impression of RAW files is that, they can be proprietary. So, although I may be able to find other noise filters out there that work as well, for now, I think I’ll stick with my current (slightly revised) editing scheme.

My “image file flow” plan:
Raw – Use Olympus Camedia - adjust exposure; run noise filter. Save as tiff (Olympus lets me save with exif, but may only be viewable in Camedia).
Open tiff file in GIMP; edit and save as xcf.bz2 (thanks Goth). Then work that file and “save as” tiff for printing or jpeg for online.

Thanks everybody,
Will
(still open to feedback)
ages ago (permalink)

view photostream

tuxcomputers is a group administrator tuxcomputers says:

What other lossless formats can Camedia save your photos as?
ages ago (permalink)

view photostream

AccidntlTourist says:

CamediaFormats

Hi Tux,
Camedia is pretty limited (especially compared to GIMP), when it comes to file types I can save RAW to.
ages ago (permalink)

view photostream

tuxcomputers is a group administrator tuxcomputers says:

Do you use GIMP on Windows? You could try 'dcraw' to do your opening of RAW files in GIMP.
ages ago (permalink)

view photostream

quixotickane says:

omg
i wish i knew what u guys were talking about
ages ago (permalink)

view photostream

tuxcomputers is a group administrator tuxcomputers says:

Ok there are two possible modes your camera can be put in:
1. Compressed (all cameras have this option)
2. Lossless (only some cameras have this)

Compressed is normally JPEG and lossless is either RAW and/or TIFF.

Compressed has the advantage of being smaller files and the camera has already processed the photo for you so you can post/e-mail/print it straight away.

RAW is when the camera takes the information straight from the sensor and saves it. The advantage is that you have complete and utter control over how the information is processed. The disadvantage is that they are HUGE files and you have to do everything yourself.

Some people like the convience of the processed image, others like the creative control that RAW gives it's a personal preference.
ages ago (permalink)

view photostream

quixotickane says:

thanks for that!
i was completely lost
i have seen the tiff file type
i still have no idea what stripping exif means, i'll ask jeeves
ages ago (permalink)

view photostream

Thingo says:

Exif is "extended information" about the photo, such as ISO, shutter speed, aperture, flash fired, spot|centre|matrix exposure metering, ... . By looking at this stuff, you can sometimes more readily track down why a particular phot has not worked out.

"Stripping exif" is taking out this information from your photo file. It doesn't affect the image at all, just saving a (little) bit of space in the file.

When editing photos, a well-behaved program (like The GIMP) allows you to choose whether you want to save the exif stuff in the (new) saved file, or leave it out -- stripping the exif.
ages ago (permalink)

view photostream

quixotickane says:

cool, i have to figure out how to mess with that in GIMP
as u can see, i am a beginner
but thank you all for being patient and explaining, i'm getting tired of asking jeeves stuff
ages ago (permalink)

view photostream

tuxcomputers is a group administrator tuxcomputers says:

@quixotickane: Ask away, I for one don't mind because we all started with zero knowledge and someone asnwered our questions.
ages ago (permalink)

view photostream

quixotickane says:

thanks tuxcomputers
i was checking out the help in GIMP and found out how you check the EXIF, but that's a plug in i dont have, and adding plug-ins in GIMP is another issue i'm having.
i figured out how to add brushes and fonts, but i dont get how you add scripts, do u know of any links that explain in plain english?
a lot of this GIMP stuff is very technical and over my head
i just found a topic on this here, i'll get it right soon
Originally posted ages ago. (permalink)
quixotickane edited this topic ages ago.

view photostream

Findo says:

I too am losing the exif between rawshooter and gimp.
When I convert the NEF to Tiff with Rawshooter I selected the save exif option, but as was shown earlier, when gimp opens the tif the data won't open with it.
I'd rather convert the RAW to tif if I have other adjustments to make, as there is little point shooting in raw if I'm just going to save it to a lossy format before finishing my editing anyway.

Is there some way / program by which I can copy the exif data from the NEF file and attatch it to the new JPG relatively easily?
ages ago (permalink)

view photostream

Josh Thompson says:

Someone mentioned UFRAW. UFRAW does not support EXIF. In that case losing EXIF is not The GIMP's fault. Which brings me to the question Findo just asked:
Yes you can copy EXIF from file to file! Use ExifTool:
www.sno.phy.queensu.ca/~phil/exiftool/
ages ago (permalink)

view photostream

Findo says:

anything with a GUI?
ages ago (permalink)

view photostream

mortimer? says:

Josh, UFRaw does support Exif if it is compiled with exiv2 and libexif.

For OSX users, check out:
UFRaw on OSX with Exif support
ages ago (permalink)

view photostream

sRagnar Fotografi says:

hey guys,
new to the group and glad to be here. nice to see that I am not the only gimp around.
i have found ufraw to be a great tool for nef(nikon raw) files.
my biggest thing was to edit the exif files. I finally found a software called exifeditor www.kiwiczech.net/ the only thing is that it needs windows framework to run. that took care of my exif problem. now back to the selection tool problems that I have with gimp. selecting and feathering is not as good as photoshop or I am not as good as the gimp :)
thanks for all your help!
ages ago (permalink)

view photostream

Phil A Evans says:

Sounds like the Perl scripts I wrote to help me out (online at: www.star.le.ac.uk/~pae9/personal/photos/) my be useful. One copies the EXIF data from one file to another; the other bulk copies the data from the raw (.CR2 files) to your processed files (you specify the extension).

But I am going to try recompiling ufraw so that I can have EXIF info in my tifs from ufraw/GIMP.

On the jpeg/tif question -- tif is far better. My kestrel pics show clear signs of the jpeg compression noise around the edge of the wings (and prompted me to start shooting Raw). On the other hand, they're loads bigger. So my personal approach is to shove everything into jpeg (ufraw-batch --out-type=jpeg *.CR2), eyeball them, delete the Raw files for anything I am never going to want in high quality. Then things I do want in high quality I convert to tif in GIMP/ufraw. And save it in Gimp as this lets you use LZW compression in the tifs.

And having finally bought the Home version of NeatImage (www.neatimage.com) I can then clean the ISO noise and sharpen the Tif images (the demo version only saves as jpeg).
ages ago (permalink)

view photostream

PhotoComiX is a group administrator PhotoComiX says:

erl scripts do work in linux out of the box?
For sure seems no way to use then in windows

As for the format tiff seems very reasonable as looseness format is also supported by most web browser (HQ astronomic photos are often on Tiff )

But i believe in case you have first to copy the exif and then paste them back to the tiff using some other tool

About neatimage Greycstoration may give not equal but almost similar result (less "glassy" using the "patch mode")
Originally posted ages ago. (permalink)
PhotoComiX (a group admin) edited this topic ages ago.

view photostream

Phil A Evans says:

Perl is included as standard in Linux/Mac OS distributions. For Windows you have to download it: www.perl.org. And my scripts mean you'll have to then open a command prompt to run them (sorry, I don't code GUIs in Perl) as you ahve to pass arguments to them.
ages ago (permalink)

smiling judge [deleted] says:

@ PhotoComiX
Don't forget you need to set the execute bit in Linux to run a script/bin file make from an text editor or copied from the net.
ages ago (permalink)

view photostream

PhotoComiX is a group administrator PhotoComiX says:

Phil A Evans

Thank
If is a Perl script FOR GIMP i doubt can work in Windows at least nobody i know was able to run perl script in Gimp under win

Problem is not have Perl installed ,at least that alone do not solve,i believe the gimp perl module was never ported to windows
(for Python that was solved only with Gimp 2.4)

obviously perl script , in general, may well run on Win, but not perl script for gimp

anyway good to know that should work in linux with no fiddling
Originally posted ages ago. (permalink)
PhotoComiX (a group admin) edited this topic ages ago.

view photostream

François Collard is a group administrator François Collard says:

By the way, as I was reading this thread, I built a Windows executable of David's Batch Processor v1.1.9.
I can send it to you, Photocomix. Or take it here:
pagesperso-***.fr/fcollard/Zip/dbp_win32.zip
(write "orange" instead of ***. The URL is still stupidly banned by Flickr).
Originally posted ages ago. (permalink)
François Collard (a group admin) edited this topic ages ago.

view photostream

PhotoComiX is a group administrator PhotoComiX says:

thank Francois
ages ago (permalink)

ablaze degree [deleted] says:

If you want to view EXIF data on a photo that's online, go here. Jeffrey Friedl has an online EXIF viewer; with Firefox, you can drag that URL to your button bar and always have it available. Works well with Flickr images from users that allow EXIF data to be seen.

Remember, your name can show up in this EXIF data! So, if you don't want to give up personal information online then you should change that data in your camera's settings before you upload.
ages ago (permalink)

view photostream

PhotoComiX is a group administrator PhotoComiX says:

François Collard

Francois i forget to upload till now i will do now.
But i am sure i forget some others, i have a very bad memory, do you have a list so i may check what else i forgot ?

serr8d

I was posting same warning, exif data may contain quite sensitive info,
and in this days even a child may know how to get from that even more informations crossing with other data (from your blog, from post in forums done with same nick ...and some smart googling ).
Originally posted ages ago. (permalink)
PhotoComiX (a group admin) edited this topic ages ago.

view photostream

Jon Winters says:

I've once again lost my exif data and it's checked to preserve the exif in the jpeg save as advanced settings. I did save an .xcf of the work file before saving the Did I wipe out the exif when saving the xcf?

Strike all of that. It's there... exif is only visible in flickr when viewing the original size image?

So I guess my question would be, can I modify my flickr account so all sizes of my images preserve the exif data?
Originally posted ages ago. (permalink)
Jon Winters edited this topic ages ago.

view photostream

Francesco Dini says:

Hi,
I saw this topic and I need to understand a problem I have with GIMP and TIFF files. I use a Canon so my workflow is the following: DPP (Digital Photo Professional, a Canon free RAW converter) -> GIMP. Sometime I prefer to save the raw into a TIFF file in order to have a no compressed file before to put it online. I noted that GIMP is unable to show EXIF data for TIFF files, no problem with JPEG ones. Is there some way in order to view EXIF for a TIFF image in GIMP?
Thanks for your support.
Regards
Francesco
Originally posted 95 months ago. (permalink)
Francesco Dini edited this topic 95 months ago.

view photostream

Kevin (paynekj) says:

@ Francesco Dini

From this conversation on the GIMP Users mailing list earlier this year:
www.gimpusers.com/forums/gimp-user/13309-questions-about-...
GIMP doesn't load the EXIF data from TIFF files. The recommendation is to use a separate tool to extract the EXIF data.
95 months ago (permalink)

view photostream

François Collard is a group administrator François Collard says:

You are right. This is also a problem when using Raw Therapee. UFRaw transfers EXIF, but Raw Therapee has more advanced features (especially demosaicing algorithms).
Maybe the two file-tiff binaries could be improved?
The ordinary workaround is to transfer EXIF with exiftool:
exiftool -tagsfromfile myphoto.raw myphoto.jpg
I also often load the JPEG version of the image as background, when I shoot in raw+jpeg, then import the decoded tiff as new layer. The benefit is you can compare the file you developed with the JPEG from the camera. The latter happens to be sometimes better, which indicates that something was wrong with my treatment;) The file you developed must be obviously better, else you have no benefit using raw.
Originally posted 95 months ago. (permalink)
François Collard (a group admin) edited this topic 95 months ago.

view photostream

Ganugapenta NaveenKumar Reddy says:

I have the same problem of GIMP striping off EXIF from my images which are imported from Rawthrapee. Did little research and found out that its a GIMP bug and is expected to be fixed in next version(currently nightly build) of GIMP. Please go through the following link.

50.87.144.65/~rt/w/index.php?title=Edit_Current_Image_in_...
59 months ago (permalink)

view photostream

AccidntlTourist says:

"You should also be aware that Gimp-2.8 and below discard all Exif data from TIFF files! This is a Gimp bug, not a RawTherapee one." - RAWpedia
50.87.144.65/~rt/w/index.php?title=Edit_Current_Image_in_...

Telling us the problems is with "TIFF"?
And, that it is a GIMP problem.

I don't know, but I was pleased to see yesterday that my jpg held on to the exif:

m-2-17-07-415

Operating system: Linux (Mint 17)
UFraw 0.19.19 (exif read by exiv2 0.23)
GIMP 2.8.10

Actually, I don't remember seeing so much exif in-depth info in the past (includes identifying GIMP as software used).

So, I don't know ... so many variables.

edit/update:

TIF experiment - again with the same raw file -- GIMP did not provide exif for the TIF.
So, yes indeed - appears to be a GIMP issue.
Now I remember, in previous versions of GIMP, when you went to "select file type" - you had two TIF lines to choose from (one with and one without exif).

Thank goodness I very rarely do anything with TIF.
Originally posted 59 months ago. (permalink)
AccidntlTourist edited this topic 59 months ago.

view photostream

netaloid says:

I use GIMP exclusively and would love to post some of my stuff to this group, however, I can't find anything in the exif data that refers to GIMP. For flickr, I export my photos as jpgs and I see that I've had the "save EXIF" option checked always - but I'm not finding any mention of GIMP in the voluminous exif results.

My question at this point: Rather than spend untold hours trying to manipulate the exif data, is it really necessary that GIMP show up in it? Why would anyone put photos on here in the GIMP group if they were, for instance, manipulating them in Photoshop? Kinda seems pointless and unlikely to me...
58 months ago (permalink)

view photostream

Hannu_E_K says:

netaloid:

Why would anyone put photos on here in the GIMP group if they were, for instance, manipulating them in Photoshop?

To have yet another group where they are visible. Probably simple as that.
BW & Color film groups see digital images from people who don't care.
58 months ago (permalink)

view photostream

AccidntlTourist says:

netaloid:

Yes, lots of people basically join hundreds of groups and then, in essence, spam them with their photos to increase views. Yes, ridiculous.

Back to your exif -- Just to help people answer your question; identify a pattern / issue with GIMP; maybe some more info:

- What camera are you shooting with?

- File type - are you shooting raw, jpeg, tif?

- If RAW - what are you using for the RAW conversion?
58 months ago (permalink)

view photostream

netaloid says:

AccidntlTourist:

various cameras. as luck would have it, i just got a Nikon d3200 that shows GIMP in the EXIF. My older Droid Bionic android phone-camera and my old Canon SX20 will not reveal any editing software despite my best efforts.

So, problem accidentally solved. i'll just post photos here from the Nikon...

and thanks to you and Hannu_E_K, BTW, i guess i'd underestimated the human "look at me!" factor.
58 months ago (permalink)

view photostream

todd- says:

This wonderful issue with Gimp stripping TIF exifs has been around for forever. What I do is load my DNG file into gimp which goes through ufraw and keeps the exif... Then I load my rawtherapee processed TIF of the same DNG over the top and flatten, which I can then process in gimp and it will keep the exif when I export to jpeg...
58 months ago (permalink)

view photostream

prokoudine says:

Just a quick update...

GIMP 2.10 will preserve metadata in JPEG, TIFF, and PNG. Here is a 1 year old write-up on that: libregraphicsworld.org/blog/entry/gimp-gets-advanced-exif....

Also, don't ask, when it's out :)
58 months ago (permalink)

view photostream

todd- says:

If a fixed version is ever released I won't know what to do with all that extra time lol...
57 months ago (permalink)

Would you like to comment?

Sign up for a free account, or sign in (if you're already a member).