2 jpgs to one TGA with alpha channel

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
kino

2 jpgs to one TGA with alpha channel

Post by kino »

Hello !

I'm trying to convert two jpg-files to a TGA image with an alpha channel. First JPG has just colors, second one has an alpha.

Image

Any hints ?

Jukka
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: 2 jpgs to one TGA with alpha channel

Post by fmw42 »

kino

Re: 2 jpgs to one TGA with alpha channel

Post by kino »

Yippiee, I did it:

convert diffuse.jpg alpha.jpg -colorspace RGB -alpha Off -compose copy_opacity -composite final_image.tga

:)
Post Reply