A recent commit added new params to vips_pngsave_bridge (#398). However, as far as I can tell, the effort param is only available starting on libvips 8.12, effectively breaking PNG output for anyone stuck on older versions of the library.
This PR restores the ability of saving PNG files for users on older libvips versions, while still preserving the new features when libvips 8.12+ is available.
A recent commit added new params to
vips_pngsave_bridge
(#398). However, as far as I can tell, theeffort
param is only available starting on libvips 8.12, effectively breaking PNG output for anyone stuck on older versions of the library.This PR restores the ability of saving PNG files for users on older libvips versions, while still preserving the new features when libvips 8.12+ is available.
Fixes #401