| ImageColorAllocate - 색의 지정 |
|
|
 |
15년 전 |
색 구분자 = ImageColorAllocate (이미지 구분자, R, G, B);
<?
$image = ImageCreate (300, 300); // 사이즈가 300x300인 이미지 생성
$color_blue = ImageColorAllocate ($image, 0, 0, 255); // 파란색을 설정
ImageGif ($image); // 이미지 출력
ImageDestroy ($image); // 메모리에서 이미지 제거
?>
파란색의 이미지 생성 |
|
추천 : 516 |
추천
목록
|
|