Closed
Description
It would be useful to know which vips library version is used, so that the user can be warned, in case it's not the correct one with features missing. I see that there's the vips_version() function in vips, but I couldn't figure out, how to access that from PHP.
Something like
PHP_FUNCTION(vips_version) {
char digits[256];
vips_snprintf(digits, 256, "%d.%d.%d", vips_version(0), vips_version(1), vips_version(2));
RETVAL_STRING(strdup(digits))
}
would maybe do it already (my PHP C know how is too rusty, but I can give it a try, if it's not already accessible through other means)
Metadata
Metadata
Assignees
Labels
No labels