Hi Peter,

While the Exif header is a nice place to access such data and isn't that 
difficult to read, it's a real pain to write out.  The only tool I know of that 
does so robustly is exiftool, which is free and well-documented.  You can build 
a script around it such that you use the "ra_ppm | cjpeg" followed by a call to 
exiftool to insert the desired tags into the output.  It works quite well.

Cheers,
-Greg

> From: Peter Apian-Bennewitz <[email protected]>
> Date: April 12, 2013 7:11:09 AM PDT
> 
> Hi folks,
> 
> not that it matters much for daylighting .... but out of curiosity -
> 
> has anyone written a converter from Radiance images to jpeg which tries to 
> convert the meta information in an hdr file as much as possible to EXIF 
> headers of jpeg ?
> ("ra_ppm | cjpeg" works for sure, but the meta info is lost; exiv2 could be 
> used to put it back in via shell script, sure)
> Handling it directly would be neat, wouldn't it ? , if just for keeping track 
> of images and their history, plus some translatable camera parameters like 
> effective focal length, details displayed by getinfo. EXIF is quite rich in 
> tags, see http://www.exiv2.org/tags.html and this metadata seems to be well 
> supported by images browsers , search engines and the like - if one wants to 
> disclose the details, which on webserver is doubtful, but in a local archive 
> useful.
> 
> just wondering-
> best,
> Peter

_______________________________________________
Radiance-dev mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-dev

Reply via email to