Fix headers in WritePics function

master
Aurelien Labate 3 years ago
parent 39ea96f0f2
commit 94612d4241
  1. 2
      common/functions.php

@ -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…
Cancel
Save