Hi,

yeap, as mentioned, exiv2 can be used for that: getinfo ... | awk -f somemagic.awk | exiv2 -m ... file.jpg Workable, doesn't even need a compiler, but dissects information from text which is available, first hand and neatly structured, in c-code reading hdr/pic images.
Anyway- whatever fits.
-Peter

On 04/12/13 17:45, Gregory J. Ward wrote:
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

--
pab advanced technologies Ltd, http://www.pab.eu


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

Reply via email to