### ImageMagick version

7.1.1.15

### Operating system

MacOS

### Operating system, version and so on

13.5

### Description

When I try to resize an image using %[papersize:A4], I get this error:

` convert: invalid argument for option '-resize': A4 @ error/convert.c/ConvertImageCommand/2668.`

I've installed ImageMagick on an Intel-Mac using Homebrew.

### Steps to Reproduce

This is the command I've used.

`magick convert image.png -resize '%[papersize:A4]' image-A4.png`

### Images

_No response_
-resize '%[papersize:A4]' seems not to work on macOS (Homebrew)
This is a GitHub Issue
repo:ImageMagick
owner:ImageMagick
Title : -resize '%[papersize:A4]' seems not to work on macOS (Homebrew)
Issue date:

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

7.1.1.15

### Operating system

MacOS

### Operating system, version and so on

13.5

### Description

When I try to resize an image using %[papersize:A4], I get this error:

` convert: invalid argument for option '-resize': A4 @ error/convert.c/ConvertImageCommand/2668.`

I've installed ImageMagick on an Intel-Mac using Homebrew.

### Steps to Reproduce

This is the command I've used.

`magick convert image.png -resize '%[papersize:A4]' image-A4.png`

### Images

_No response_
--- end body ---
