The image_imagemagick_get_info() function currently uses the core PHP function getimagesize() for retrieving information about an image. This works well with image formats that PHP can handle, but fails completely when getting information about other image file formats. As the Imagemagick module already uses the convert command line application, it could also use the identify command line application for retrieving basic information about an image.
The attached patch allows a maintainer (by setting the variable imagemagick_use_identify to TRUE) to specify that the identify command should be used to retrieve image dimensions, rather than the getimagesize() function. The patch then allows us to upload, for example, SVG images, and have them converted and displayed as JPEGs.
Closed: outdated
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.