converting raw to tga for use in im?

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
BabaG

converting raw to tga for use in im?

Post 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
BabaG

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

If dcraw is in your execution path, ImageMagick leverages it to convert your NEF images:
  • convert nef:image.nef image.jpg
BabaG

Post 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
Post Reply