Create png with alpha from 2 bitmaps

Discussions on NConvert - the command line tool for image conversion and manipulation

Moderators: XnTriq, helmut, xnview

Posts: 1
Joined: Mon May 27, 2013 10:43 pm

Create png with alpha from 2 bitmaps

Post by Scruff »

Hi all. I have two images:
main.bmp -> true color bmp 24x24, and
mask.bmp -> grayscale bmp 24x24.

I want to create a transparent png from main.bmp with mask.bmp as the alpha channel.
This is easy in the GUI, but I can't work out how to do this from the command line using NConvert.exe.

If this can be done, what would be the correct syntax?
If not, is it possible for this feature to be added in the future?

I'm using Windows XP.
Thanks for any help.