Switch back to inverted colors with new BW display

This commit is contained in:
Junior 2026-11-22 11:42:25 -05:00
parent baefedd775
commit cd3b1dbe7a

View File

@ -11,6 +11,8 @@ $deg = html_entity_decode("°");
$image = imagecreate(480, 800); $image = imagecreate(480, 800);
$white = imagecolorallocate($image, 0, 0, 0); $white = imagecolorallocate($image, 0, 0, 0);
$black = imagecolorallocate($image, 255, 255, 255); $black = imagecolorallocate($image, 255, 255, 255);
//$white = imagecolorallocate($image, 255, 255, 255);
//$black = imagecolorallocate($image, 0, 0, 0);
//$red = imagecolorallocate($image, 255, 0, 0); //$red = imagecolorallocate($image, 255, 0, 0);
$red = $black; $red = $black;
$transparent = imagecolorallocatealpha($image, 255, 255, 255, 127); $transparent = imagecolorallocatealpha($image, 255, 255, 255, 127);