My ofn-export-layer-combinations script, perhaps?
For the format variants, IMHO you should save a good quality flat image (PNG...) and then use a shell script with ImageMagick convert to generate other formats/sizes from that.
For the format variants, IMHO you should save a good quality flat image (PNG...) and then use a shell script with ImageMagick convert to generate other formats/sizes from that.