In real life, the geometry of the canvases is derived from two existing image files.
Code: Select all
convert -bordercolor black \( -size 200x100 "xc:#080" \) \( -size 200x30 "xc:#800" -gravity South -extent x200% \) -append -border 5% fg.png

Now I would like to create the following image based on the same geometry information:
As I really don't know how to express this with ImageMagick, I'll describe it in plain English:
The image below has the same dimensions as the one created above. The green block extends down to the MIDDLE of the white gap.

I am at my wits end. If anyone can give me an idea how to calculate these two areas, I'd be very grateful