|
|
|
 |

March 8th, 2007, 03:54 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
Re: tga converter
I LOVE ImageMagick. I use it extenzively on my servers for displaying the random map sets that were regenerated each day.
Unfortunately Ive developed a bug where the RGB's turn into black squares when I try to converty them
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
|

March 8th, 2007, 06:22 PM
|
 |
General
|
|
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
|
|
Re: tga converter
Quote:
Gandalf Parker said:
Unfortunately Ive developed a bug where the RGB's turn into black squares when I try to converty them
|
What exactly is the problem? I think all that you have to do is to use the "flatten" conversion to cast away the alpha channel. Maybe some more things are required, but I remember that I looked it up and it was quite simple to achieve.
|

March 8th, 2007, 07:01 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
Re: tga converter
For some reason one of my servers will convert rgb to jpg and another wont. I get a jpg but its just a black square. Both servers are Debian altho different versions. I thought it might be a library difference.
Id be interested in trying the flatten thing but I make alot of use of transparency so Im not sure if Id like the results
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
|

March 8th, 2007, 07:07 PM
|
 |
General
|
|
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
|
|
Re: tga converter
That flatten thing was addressing the problems that old images from Dom2 maps used to give, they had an added alpha channel which wasn't used in Dom2, but was "visible" (more like, not visible) in Dom3. Flatten should "fix" this by removing the alpha channel, IIRC.
|

March 8th, 2007, 07:13 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
Re: tga converter
Ahh yes, that does work well for converting dom2 maps
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|