Fix headers in WritePics function
This commit is contained in:
parent
39ea96f0f2
commit
94612d4241
|
@ -147,7 +147,7 @@ $Fxi2RawArray = array(
|
|||
function writePics($pics, $colors, $size=3)
|
||||
{
|
||||
$nbrPics = count($pics);
|
||||
// header("Content-type: image/png");
|
||||
header("Content-type: image/png");
|
||||
$image = imagecreate(128,64);
|
||||
$fond = imagecolorallocate($image, 255,255,255);
|
||||
imagecolortransparent($image,$fond);
|
||||
|
|
Loading…
Reference in New Issue