Deprecated: Implicit conversion from float 146.574... to int loses precision in C:\xampp\htdocs\myproj\PHP_ICO.php on line 193 ($color |= 0xFF000000 & ( $alpha << 24 );). I've php version: PHP Version 8.2.0 . Possible solution: line 190 ought to be $alpha = intval((1 - ($alpha / 127)) * 255);.
Deprecated: Implicit conversion from float 146.574... to int loses precision in C:\xampp\htdocs\myproj\PHP_ICO.php on line 193 ($color |= 0xFF000000 & ( $alpha << 24 );). I've php version: PHP Version 8.2.0 . Possible solution: line 190 ought to be $alpha = intval((1 - ($alpha / 127)) * 255);.