Skip to content

Possible bug in -define for gradient #7143

@fmw42

Description

@fmw42

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

Is my syntax correct?

Steps to Reproduce

See above

Images

see above

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions