Could you write a double for loop ?for L in layers:
for O in L.options/values:
draw just O from layer L (all other layers transparent);
save to L_O.png
then it'll be our responsibility to recombine these layer_object.png files on our own