Lines Matching refs:png
235 $png = imagecreate(($bcd['maxw'] * $w), $h);
236 $bgcol = imagecolorallocate($png, 255, 255, 255);
238 $fgcol = imagecolorallocate($png, $color[0], $color[1], $color[2]);
253 imagefilledrectangle($png, $x, $y, ($x + $bw - 1), ($y + $bh - 1), $fgcol);
263 $png = imagecreate($w, ($bcd['maxw'] * $h));
264 $bgcol = imagecolorallocate($png, 255, 255, 255);
266 $fgcol = imagecolorallocate($png, $color[0], $color[1], $color[2]);
277 imagefilledrectangle($png, $x, $y, ($x + $bw - 1), ($y + $bh - 1), $fgcol);
285 imagepng($png);
299 if (!@imagepng($png, $savePath))
305 imagedestroy($png);