* Rikard Johnels <rikard.j@rikjoh.com> [11-28-05 11:59]:
I dont understand the doc's for it. I can get it to print the header in the .pef file, but how do i get it to "insert" the grabbed headers into a .jpg?
What i do is: dcraw -w -q3 -c image.pef |ppmtojpeg > image.jpg #Yields a .jpg file exiftool image.pef #yeilds a listing of the headres on stdout
How do i get the header from the .pef into the .jpg file??? Is there a smarter way to do it?
From the command line, issue: exiftool with *no* parameters, will provide the documentation.
-------------- SYNOPSIS exiftool [OPTIONS] [-TAG[[+-<]=[VALUE]] or --TAG...] FILE ... DESCRIPTION A command-line interface to Image::ExifTool used for read ing and writing meta information in image files. "FILE" may be an image file name, a directory name, or "-" for the standard input. Information is read from the speci fied file and output in readable form to the console (or written to an output text file with the "-w" option). To write information to an image file, specify new values using either the "-TAG=[VALUE]" syntax or the "-TagsFrom File" option. This causes exiftool to rewrite "FILE" with the specified information, preserving the original file by renaming it to "FILE_original". (Note: Be sure to verify that the new file is OK before erasing the original.) --------------- exiftool -TagsFromFile /<path>/file1.pef /<path>/file1.jpg ps: you might want to take a look at UFRaw to do your file conversions. http://ufraw.sourceforge.net/ The latest version has the ability to transfer some of the exif information during conversion from raw format to jpg. -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2