2011-01-17 3 views

답변

1

예, several described in the manual입니다. 그냥 차트, 어쩌면 Google Chart's Api 또는 뭔가 similar을 만들려면에 대한 엄격 PHP는 동안, 어쩌면 유용

<?php 
// Create a blank image and add some text 
$im = imagecreatetruecolor(120, 20); 
$text_color = imagecolorallocate($im, 233, 14, 91); 
imagestring($im, 1, 5, 5, 'A Simple Text String', $text_color); 

// Set the content type header - in this case image/jpeg 
header('Content-type: image/jpeg'); 

// Skip the filename parameter using NULL, then set the quality to 75% 
imagejpeg($im, NULL, 75); 

// Free up memory 
imagedestroy($im); 
?> 
0

: 여기

는 JPEG를 만들 imagejpeg를 사용하는 방법을 설명하는 매뉴얼에서 예제 당신. 두 번째 링크는 이미지를 만들지 않고 플래시 차트를 만들지 만 이미지로 저장할 수 있습니다.

+0

플래시 차트가 멋지다! – Fernando

관련 문제