Depending on the software you are using, it should not be hard to write a script that treats #000000 as a transparent mask.