I combine three files, the 2nd and 3rd having some transparent areas, into one and this works fine:

```
convert image1.png image2.png image3.png -flatten image_combined.png

```

In addition to combining those pictures, I would like to cut out a rectangle in the middle of *image1.png*, leaving that area transparent, but can't do it.
One (old) example I've found on a forum is:

```
convert image1.png -alpha set -region 40x30+15+5 -alpha transparent image2.png

```

When I try it (as-is, not even trying to mix it with my previously mentioned code), it doesn't work at all, outputting *image2.png* identical to *image1.png* (update: I'm using the ImageMagick v7)

Any help would be appreciated,

Michael