I'm trying to convert some old DirectX 6 files I made to PNGs to be used in SFML.
I have a car.bmp and a car.MASK.bmp where the MASK file has only the colors white, black and gray. Those indicate no transparency, full transparency and semi-transparency respectively.
So I'd like to see the colors of the mask to be converted to alpha values and the colors of the picture copied into it.
I thought I was on the right track with:
Code: Select all
convert c:\path\car.MASK.bmp -transparent black PNG8:textlogo.png
Being new to IM and seeing the many possibilities of ImageMagick-6.8.4-Q8 (on win xp) I could be looking for a while. So what is the best way to tackle this problem please?
Edit: Damn! Wrong forum, sorry!