Convert has been renamed in Image Magic v7 and later #2054

Closed
opened 2026-10-05 01:04:52 +02:00 by adam · 1 comment
Owner

It appears that of Image Magick v7 and later; 'convert' was renamed at some point recently:

[Mon May 12 11:03:16.348110 2025] [php:warn] [pid 85362] [client XXXX:XXXX] PHP Warning:  WARNING: The convert command is deprecated in IMv7, use "magick" instead of "convert" or "magick convert" in XXXX/piwigo/admin/include/image.class.php on line 728, referer: https://XXX/XXXX/index.php?/category/1
[Mon May 12 11:03:16.348128 2025] [php:warn] [pid 85362] [client XXXX:XXX] PHP Warning:   in XXXXpiwigo/admin/include/image.class.php on line 728, referer: https://XXXX/XXX/index.php?/category/1

Now currently - it seems that convert is hardcoded in two places in image.class.php -- so perhapos there is a need for a new configuration flag with the name of the actual binary.

It appears that of Image Magick v7 and later; 'convert' was renamed at some point recently: ``` [Mon May 12 11:03:16.348110 2025] [php:warn] [pid 85362] [client XXXX:XXXX] PHP Warning: WARNING: The convert command is deprecated in IMv7, use "magick" instead of "convert" or "magick convert" in XXXX/piwigo/admin/include/image.class.php on line 728, referer: https://XXX/XXXX/index.php?/category/1 [Mon May 12 11:03:16.348128 2025] [php:warn] [pid 85362] [client XXXX:XXX] PHP Warning: in XXXXpiwigo/admin/include/image.class.php on line 728, referer: https://XXXX/XXX/index.php?/category/1 ``` Now currently - it seems that convert is hardcoded in two places in image.class.php -- so perhapos there is a need for a new configuration flag with the name of the actual binary. <!-- github-sync-id:3056582583 -->
adam closed this issue 2026-10-05 01:04:52 +02:00
Author
Owner

Closing in favor of #2367

Closing in favor of #2367 <!-- github-comment-id:2880005938 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#2054