Page 1 of 1

converting raw to tga for use in im?

Posted: 2007-01-24T18:20:22-07:00
by BabaG
i'm running a batch script with im. testing all works well with
jpg's so i'm moving up to raw now. images are in .nef raw
format which im doesn't seem to support. (please correct me
if that is wrong.)

i need to convert these raw images to something im can
work with and want to keep the maximum image data. i
presume this means going to an uncompressed format,
something like tga maybe?

what is the image format of choice, if there is one, for this
kind of use with im? what method could i employ from
within my wxp batch script that would accomplish this
conversion for me? essentially, i'm looking for a command
line conversion tool, if there is such an animal for wxp.

thanks,
BabaG

Posted: 2007-01-24T23:15:09-07:00
by BabaG
have found dcraw, a command line converter. anyone here have
experience using it to convert .nef to equivalent format for use
in im? what would be the best format, settings for dcraw? not a lot of
readily available info out there it seems.

thanks,
BabaG

Posted: 2007-01-25T06:18:21-07:00
by magick
If dcraw is in your execution path, ImageMagick leverages it to convert your NEF images:
  • convert nef:image.nef image.jpg

Posted: 2007-01-25T12:15:16-07:00
by BabaG
thanks magick. what does it mean for an xp user 'If dcraw is in your execution
path'? How do i check that or put in in my path? right now i have dcraw and
the cygwin1.dll in the folder that has the files i'm converting.

also, would i still have to perform this convert operation before my other
mogrify operations? and lastly, what would be good settings to use to go from
.nef to .tga?

anyone? thanks again,
BabaG