- ⌂ #IMAGE
- Operations
#IMAGE GetVersion
Get the image processor version string. That is, the GD or ImageMagick version string.
Prototype
#IMAGE($image_bytes, GetVersion)
Return
The GD version string like:
GD-1.0.0
The ImageMagick version string like:
ImageMagick 6.2.8 10/20/10 Q16 file:/usr/share/ImageMagick-6.2.8/doc/index.html
Example
#/ get the file extension based on the image format
#NEW($version)#IMAGE($img,GetVersion)#ENDNEW
#NOTE('Using Image Processor: $version')