Skip to content

[Bug]: ImageMagick - UnableToOpenConfigureFile When Attempting To Read SVG File #86

@T-Spoon

Description

@T-Spoon

Operating system version

macOS Monterey 12.5.1 (21G83)

System architecture

ARM64 (M1, M2, etc)

Herd Version

1.0.8 (Build: 10)

PHP Version

PHP 8.2.8 (cli) (built: Jul 28 2023 13:55:05) (NTS)

Bug description

Attempting to use ImageMagick with SVG support and the following error is encountered:

UnableToOpenConfigureFile `delegates.xml' @ warning/configure.c/GetConfigureOptions/722

The locally installed version of ImageMagick is 7.1.1-10, and I've also added an alias for 7.1.1-14 to point to my 7.1.1-10 install, as I can see that the bundled version with herd is 7.1.1-14.

Is there some way of configuring Herd's ImageMagick params? Since AFAIU all the extensions are compiled in the Herd php binary - I'm not sure how to go about debugging this issue.

Steps to reproduce

$image = new Imagick();
$svg = file_get_contents("image.svg");
$image->readImageBlob($svg);

Relevant log output

UnableToOpenConfigureFile `delegates.xml' @ warning/configure.c/GetConfigureOptions/722

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