Retaining custom info during JPG edit

bbell2000

Joined: 2003-05-19
Posts: 6
Posted: Wed, 2003-05-21 00:52

Now that I have gallery working, I want more!!!

Does anyone know of an image editing utility that will let me crop JPG's and resave them without losing the custom info saved by my camera?

If not, how about a utility that will let me insert the custom info into an edited JPG?

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3474
Posted: Thu, 2003-05-22 08:59

Jhead will do it. And a savvy person such as yourself already installed Jhead when you installed Gallery, right? ;)

You can use NetPBM (pnmcrop, not shipped with the Gallery package) or ImageMagick to crop your photos on the command line if you like. Otherwise use your favourite Photoshop-esque app.

Jhead will transfer the EXIF data from one image to the other with this command:

% jhead -te original.jpg cropped.jpg

Or if you batch crop a whole set and save the new crops in a sub-directory called "originals", you can batch add the EXIF data with:

% jhead -te "originals\&i" *jpg

Will that suffice? :)
-Beckett (

)