[geeks] Any imagemajick wizards?

Joshua D Boyd jdboyd at cs.millersville.edu
Wed Sep 18 11:32:19 CDT 2002


I have a directory of B&W .gif files.

I need to convert them to .tga files.  So, I use convert like so:
convert 1.gif 1.tga.

Now, the problem is that when I try to load these .tga files, I find
that they aren't the type of tga file I need.  I need type 2 or type 10
tgas, but instead, convert is giving me type 1 targas.  I believe this
means it is a color mapped image rather than an RGB one.

Reading the convert man page, I see a -colorspace flag, so I tried
-colorspace RGB, but I'm still getting type 1 files.  Can anyone
recommend the proper way to force convert to do what I want?

-- 
Joshua D. Boyd



More information about the geeks mailing list