Closed
Description
Description
When using imagerotate to rotate the barcode image, setting the rotation angle to 90 will cause the image to be completely filled with black. but angle 90.01 is working
The following code:
<?php
$img_debug = imagecreatefrompng("D:/7701202301090006.png");
$img_debug = imagerotate($img_debug, 90.00, 0, -1);
imagepng($img_debug, "D:/output.png");
PHP Version
PHP 7.3.4
Operating System
windows