I’m trying to add a scale to every image of an stack. The code for scale is done so far.
setLineWidth(2); setColor(255, 255, 255); drawLine(zero, height, w, height);
This is just a snippet of the code and it just draws the horizontal line of the scale.
But if I try to use this on a stack and then run the Flatten comand
which I think is the command for combining the line with the image.
It only apllies the line to the first Image of the stack.
Do you know how to apply the line (and text) to all images within the stack?