#4326 - ImageMagick should be configurable

Identifier #4326
Issue type Minor issue (breaks specific functionality)
Title ImageMagick should be configurable
Status Completed
Handling member Chris Graham
Version 10.0.31
Addon core
Description Composr may call ImageMagick in some cases: as to prevent PHP memory running out when producing large thumbnails, or converting 8-bit PNG files to 32-bit PNG files to avoid a bug present on some PHP installs.

However, on review the autodetection for ImageMagick has some issues:
1) Does not work on Windows
2) Assumes that an executable named 'convert' is ImageMagick, which is not safe (reviewing Linux distributions it 100% always is, but custom apps may have their own conflicting executable which may not even exist when called by PHP).
3) The latest version of ImageMagick has renamed their executable to 'magick' for the above reason. Current detection would not find it.

Make it fully configurable.
Steps to reproduce

Funded? No
Commits

Fixed MANTIS-4326 (ImageMagick should be configurable) (5f03a807) · Commits · Composr ecosystem / Composr · GitLab

The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated