2
Bug #39508 (imagefill crashes with small images 3 pixels or less)
5
if (!extension_loaded('gd')) die("skip gd extension not available\n");
6
if (!GD_BUNDLED) die('skip external GD libraries always fail');
10
$im = imagecreatetruecolor(3,1);
11
$bgcolor = imagecolorallocatealpha($im,255, 255, 0, 0);
12
imagefill($im,0,0,$bgcolor);
13
print_r(imagecolorat($im, 1,0));