imagecolorsforindex(): Argument #2 ($color) is out of range when running bin/magento catalog:images:resize
This issue related to GD library with some images. Recently upgraded from 2.4.4 to 2.4.5. While placing the images in pub/media folder and running bin/magento catalog:images:resize, then getting the following error imagecolorsforindex(): Argument #2 ($color) is out of range#0 /var/www/html/vendor/magento/framework/Image/Adapter/Gd2.php(347): imagecolorsforindex(Object(GdImage), 48) It seems PHP GD Library gives error if Color went out of range… Read More »