Page 1 of 1

batch convert bmp to png or jpg depending on alpha?

Posted: Sun Oct 13, 2013 3:59 am
by shadowpower
I have a lot of .bmp in different folders, some have alpha channel and some don't.
is it possible to batch convert a bunch of bmp and detect if they have an alpha channel

if they have alpha channel convert them to .png with transparency
if they don't have alpha channel convert them to .jpg (to reduce filesize)

or is it possible to convert them all to .png and if they don't have transparency (because the .bmp didn't have an alpha channel) convert them to .jpg and delete the .png that were converted to .jpg

Re: batch convert bmp to png or jpg depending on alpha?

Posted: Mon Oct 14, 2013 6:53 am
by xnview
no sorry