### ImageMagick version

7.1.1.29

### Operating system

MacOS

### Operating system, version and so on

Ventura

### Description

I am not sure I understand the following define or perhaps there is a bug. It is not working as I might expect. But I could just not understand how it should work.

`-define gradient:bounding-box=widthxheight+x+y`

I tried:

`magick -size 500x500 -define gradient:bounding-box=400x200+50+200 gradient:red-blue x.png`

expecting to see a red-blue gradient inside the 500x500 size. But I got a completely red image

![x](https://github.com/ImageMagick/ImageMagick/assets/13458218/1eada8a2-79a3-41cf-8061-10a627984023)

Is my syntax correct?



### Steps to Reproduce

See above

### Images

see above
Possible bug in -define for gradient
This is a GitHub Issue
repo:ImageMagick
owner:ImageMagick
Title : Possible bug in -define for gradient
Issue date:

--- start body ---
### ImageMagick version

7.1.1.29

### Operating system

MacOS

### Operating system, version and so on

Ventura

### Description

I am not sure I understand the following define or perhaps there is a bug. It is not working as I might expect. But I could just not understand how it should work.

`-define gradient:bounding-box=widthxheight+x+y`

I tried:

`magick -size 500x500 -define gradient:bounding-box=400x200+50+200 gradient:red-blue x.png`

expecting to see a red-blue gradient inside the 500x500 size. But I got a completely red image

![x](https://github.com/ImageMagick/ImageMagick/assets/13458218/1eada8a2-79a3-41cf-8061-10a627984023)

Is my syntax correct?



### Steps to Reproduce

See above

### Images

see above
--- end body ---
