AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
August 2005

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2005.08.04 05:34 "TIFF file from RAW file", by Anil Kumar
2005.08.05 03:50 "TIFF file from RAW format", by Anil Kumar
2005.08.05 09:44 "Re: TIFF file from RAW format", by Joris Van Damme
2005.08.08 11:39 "Re: TIFF file from RAW format", by Anil Kumar
2005.08.08 11:52 "Re: TIFF file from RAW format", by Joris Van Damme

2005.08.05 09:44 "Re: TIFF file from RAW format", by Joris Van Damme

Anil,

> I have a "RAW" file created from a TIFF file, then i process the RAW
> file (apply some profile changes), then i have to save the RAW file as
> a TIFF file. What all tage values should I set in the new RAW to TIFF
> conversion. I need the new TIFF as exactly same as TAG values in the
> orginal. Should I get all TAGs from the orginal and store them, again
> set when I save the the RAW to TIFF and recreate the orginal. Is there
> any single function which acquire all TAG information from a TIFF
> file, then apply to a new TIFF file?

It still seems to me that you should probably either be reading your manual if
you're using some software to help you with this, or either post more of your
code if you're using LibTiff and/or other libraries. Your workflow does become
clearer with the quoted message, but still it is very hard for us to say
anything meaningfull, or even discover whether or not your problems are LibTiff
related for sure.

The following I can say though I'm not sure it's even related:

a) Just taking a bunch of tag values from one file and applying them to another
is generally a bad idea. Tag values can be all sorts of things, including but
not limited to pagenumbers, and offsets to private IFDs, and when copied those
end up either plain wrong, or badly corrupting on the TIFF level. It is better
to instead recreate the necessary tags. If it's LibTiff you use to convert the
RAW to TIFF, this should not be a problem. So if you do use LibTiff, again, best
to post us the code you have sofar if there's any problem, and if you use
another library or some application, best to read its manual probably.

b) Are you aware there's an excellent uitility by Marti Maria that is designed
to apply profiles to TIFF files? This is mentioned in the TIFF FAQ, question 11.
The utility is called 'tifficc' and can be found on Marti's LCMS website.

TIFF FAQ: http://www.awaresystems.be/imaging/tiff/faq.html
LCMS: http://www.littlecms.com/

c) Possibly there are also some tools in the LibTiff tools section that can help
you convert back and forth. I don't really know, but I seem to remember
something along those lines. The tools are enumerated and documented.

TIFF Tools: <can't find you the URL, site is down>


Joris Van Damme
info@awaresystems.be
http://www.awaresystems.be/
Download your free TIFF tag viewer for windows here:
http://www.awaresystems.be/imaging/tiff/astifftagviewer.html