extend=white does not work on some images
Hi,
Using these versions :
"imaginary": "1.2.1", "bimg": "1.1.2", "libvips": "8.9.2"
I don't get the expected result with following command :
https://imagine.nexylan.dev/resize?extend=white&embed=true&width=580&height=580&url=https://photos.zodio.fr/zodio-magento/catalog/products/source/1/0/10124801_D.jpg&nocrop=true
Source image : https://photos.zodio.fr/zodio-magento/catalog/products/source/1/0/10124801_D.jpg
Resized area should be white.
Gaëtan
All right, I have some part of answer.
Source image is CMJN, then color-code is opposite of RGB.
extend=black gives me white background...
https://imagine.nexylan.dev/resize?extend=black&embed=true&width=580&height=580&url=https://photos.zodio.fr/zodio-magento/catalog/products/source/1/0/10124801_D.jpg&nocrop=true
Gaëtan