@echo off
convert "%1" -channel rgba -separate chan.bmp
convert chan-0.bmp chan-1.bmp chan-2.bmp chan-3.bmp -channel rgba -combine "png32:%~pn1.png"
del chan-0.bmp
del chan-1.bmp
del chan-2.bmp
del chan-3.bmp
