The rendering intent. VIPS_INTENT_ABSOLUTE is best for scientific work, VIPS_INTENT_RELATIVE is usually best for accurate communication with other imaging libraries.
This issue is a feature request to add support for this parameter when calling icc_transform. For example, perhaps it could be added to the Options structure at https://pkg.go.dev/github.com/h2non/bimg#Options.
The libvips icc_transform function supports passing an
intent
variable, as described here: https://www.libvips.org/API/current/libvips-colour.html#vips-icc-transformVipsIntent looks like this:
This issue is a feature request to add support for this parameter when calling icc_transform. For example, perhaps it could be added to the
Options
structure at https://pkg.go.dev/github.com/h2non/bimg#Options.This option seems to be required in order to correctly convert some CMYK images, like the example discussed here in the last comment: https://github.com/libvips/php-vips/issues/106#issuecomment-691667564