Re: [Gimp-user] gimp will strip the exif information in tiff file?
* stephen moss <[EMAIL PROTECTED]> [09-26-08 07:55]: > Unfortunately exiv2 does not write to tiff files yet... > > This would give you a work around... copy the EXIF back in after editing. > > http://www.hugsan.com/EXIFutils/ But, Phil Harvey's excellent exiftool will, http://www.sno.phy.queensu.ca/~phil/exiftool/ -- Patrick Shanahan Plainfield, Indiana, USAHOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535@ http://counter.li.org ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] gimp will strip the exif information in tiff file?
Unfortunately exiv2 does not write to tiff files yet... This would give you a work around... copy the EXIF back in after editing. http://www.hugsan.com/EXIFutils/ -- Stephen Moss Retired Tech Rat off the wheel and into the ball ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] gimp will strip the exif information in tiff file?
Michael J. Hammel píše v Čt 25. 09. 2008 v 11:57 -0600: > To convert back to TIFF you can use ImageMagick's convert tool. > According to this discussion: > http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=11600 > convert will retain EXIF data. This is true as long as you're simply > converting formats and not resizing (such as creating thumbnails). > Converting file formats is as simple as > > convert file.jpg file.tif > I am afraid that this might be true only for MS Windows. I tried on linux (ubuntu 8.04 amd64): $ convert orig_with_exif_and_icc.jpg test.tif The test.tif has only the ICC profile embedded, Exif is lost. This might be caused by libtiff library, which is different on the systems. I do not have any TIFF file with Exif, so cannot test what happens on conversions. On linux, support for creating Exif metadata is quite limited - I personally use it only for JPEGs. Also exiftool's man page reads, that it can only read or write, but not create Exif in TIFF images. > > By the way, if I save these tiff images as another files, will gimp > > also strip the icc profile? > > (ps, will gimp strip the icc profile in jpeg?) > > I looked at using ICC profiles last month in an article I did for Linux > Format magazine but I don't think I checked if the profiles were > retained when saved. I think I assumed (bad idea) that they were. > You'll simply have to try it and see. GIMP does support retaining ICC > profiles when you open files that contain them. You're typically > queried when you open the file if you want to keep it over convert it to > GIMP's built in profile. GIMP retains the ICC profile in TIFF. Best regards, Milan Knizek knizek (dot) confy (at) volny (dot) cz http://www.milan-knizek.net - about linux and photography ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] gimp will strip the exif information in tiff file?
Hi, Sven > The GIMP TIFF plug-in lacks support for Exif information. It should not > be too difficult to add basic support to it. Basic means that the TIFF > loader attaches the Exif information to the image and the TIFF writer > writes any attached Exif data back to the file. If this is important for > you, then I suggest that you add this functionality to the TIFF plug-in. > If you need help, feel free to ask technical questions on the > gimp-developer mailing-list. I'm a end user, and this is very important functionality for people who are professional users; they would like to keep the information that when did they take the picture, what is the camera shutter, etc. Since I can not write the codes; I'm a Linux user; gimp is the only and the best image editor in linux, I would like to know if any developer is interested in adding this functionality which is important for professional users. Thank you -- Best Wishes, Tsai, Dung-Bang 蔡東邦 --- Department of Physics National Taiwan University No. 1, Sec. 4, Roosevelt Road Taipei 10617, Taiwan TEL: +886-2-3366-5134 Phone: +886-911-575-610 Web: http://www.massless.info ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] gimp will strip the exif information in tiff file?
Hi, On Fri, 2008-09-26 at 01:36 +0800, Tsai, Dung-Bang (蔡東邦) wrote: > I'm using gimp to deal with my photos which are made of DSLR. > These ttif files have embedded exif information, and every time I save > these files; it seems that the exif information will be stripped. The GIMP TIFF plug-in lacks support for Exif information. It should not be too difficult to add basic support to it. Basic means that the TIFF loader attaches the Exif information to the image and the TIFF writer writes any attached Exif data back to the file. If this is important for you, then I suggest that you add this functionality to the TIFF plug-in. If you need help, feel free to ask technical questions on the gimp-developer mailing-list. > I have done some tests on jpeg files; gimp will not strip the exif > information. That is correct. The JPEG plug-in has the functionality that is missing in the TIFF plug-in. I suggest that you have a look at the source code of the JPEG plug-in to find out how the JPEG plug-in deals with Exif. The TIFF plug-in should do something similar. > By the way, if I save these tiff images as another files, will gimp > also strip the icc profile? > (ps, will gimp strip the icc profile in jpeg?) No, if I remember correctly, both plug-ins read and write ICC profiles. Sven ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] gimp will strip the exif information in tiff file?
On Fri, 2008-09-26 at 02:14 +0800, Tsai, Dung-Bang (蔡東邦) wrote: > As far as I know, baseline jpeg is alway lossy; only JPEG-LS supports > lossless image saving. So, does it mean that if I save file at 100% quality, > gimp will use JPEG-LS? Don't know - you'd have to look at the source to figure that out or ask on gimp-developer. > Also, I will also check that if your ideal will work or not. I'm worried about > that gimp can not even read the exif in the tiff file such that your approach > will not work at all. I wasn't that impressed with the TIFF file plugin though I use it to save lossless screenshots for articles. If you are worried it doesn't read the exif data you can try converting to JPEG first using ImageMagick and then loading it that way. I believe the JPEG plugin supports the EXIF data. Again, since I don't use EXIF much I'm not positive of any of this. You simply have to try it and find out. -- Michael J. HammelPrincipal Software Engineer [EMAIL PROTECTED] http://graphics-muse.org -- Failure is not an option. It comes bundled with your Microsoft product. -- Ferenc Mantfeld ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] gimp will strip the exif information in tiff file?
Hi Michael J. Hammel > I can't say if the TIFF file plugin supports this or not but there are > some options on how to deal with the situation if it doesn't. First, > load the TIFF images and then save them in JPEG at 100% quality. > Technically that should be equivalent to TIFF since no compression is > performed but I can't guarantee that. As far as I know, baseline jpeg is alway lossy; only JPEG-LS supports lossless image saving. So, does it mean that if I save file at 100% quality, gimp will use JPEG-LS? Also, I will also check that if your ideal will work or not. I'm worried about that gimp can not even read the exif in the tiff file such that your approach will not work at all. -- Best Wishes, Tsai, Dung-Bang 蔡東邦 --- Department of Physics National Taiwan University No. 1, Sec. 4, Roosevelt Road Taipei 10617, Taiwan TEL: +886-2-3366-5134 Phone: +886-911-575-610 Web: http://www.massless.info ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] gimp will strip the exif information in tiff file?
On Fri, 2008-09-26 at 01:36 +0800, Tsai, Dung-Bang (蔡東邦) wrote: > I'm using gimp to deal with my photos which are made of DSLR. > These ttif files have embedded exif information, and every time I save > these files; it seems that the exif information will be stripped. > I have done some tests on jpeg files; gimp will not strip the exif > information. > How can I correctly deal with the exif in tiff by using gimp? I can't say if the TIFF file plugin supports this or not but there are some options on how to deal with the situation if it doesn't. First, load the TIFF images and then save them in JPEG at 100% quality. Technically that should be equivalent to TIFF since no compression is performed but I can't guarantee that. To convert back to TIFF you can use ImageMagick's convert tool. According to this discussion: http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=11600 convert will retain EXIF data. This is true as long as you're simply converting formats and not resizing (such as creating thumbnails). Converting file formats is as simple as convert file.jpg file.tif > By the way, if I save these tiff images as another files, will gimp > also strip the icc profile? > (ps, will gimp strip the icc profile in jpeg?) I looked at using ICC profiles last month in an article I did for Linux Format magazine but I don't think I checked if the profiles were retained when saved. I think I assumed (bad idea) that they were. You'll simply have to try it and see. GIMP does support retaining ICC profiles when you open files that contain them. You're typically queried when you open the file if you want to keep it over convert it to GIMP's built in profile. > When will the gimp support the 16bit per channel color depth? When it's ready. :-) Actually, integration of the GEGL libraries is underway and a first release with GEGL support is due in the next release (due out "soon" but one can never assume when soon might arrive). I don't know if 16 bit channels are to be included in the next release (though I don't believe they are), but one of the purposes of integrating GEGL was to allow for higher color depths. So it should be in either the next release or one of the releases soon after that. -- Michael J. HammelPrincipal Software Engineer [EMAIL PROTECTED] http://graphics-muse.org -- Bumper Sticker: Don't like my driving? Then quit watching me. ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user