
Imagick::haldClutImage 함수의 두 번째 인자인 'clut'은 ImagickPixelIterator 객체를 받을 수 있습니다.
예를 들어, 컬러_LOOKUP 테이블을 생성하기 위해 ImagickPixelIterator 객체를 사용하는 코드는 다음과 같습니다.
#hostingforum.kr
php
$clut = new ImagickPixelIterator();
// 컬러_LOOKUP 테이블을 생성하는 코드를 여기에 넣습니다.
$imagick = new Imagick();
$imagick->haldClutImage($image, $clut);
또한, 'clut' 인자는 ImagickPixel 객체를 받을 수도 있습니다.
#hostingforum.kr
php
$clut = new ImagickPixel();
// 컬러_LOOKUP 테이블을 생성하는 코드를 여기에 넣습니다.
$imagick = new Imagick();
$imagick->haldClutImage($image, $clut);
'clut' 인자는 ImagickPixel 객체 또는 ImagickPixelIterator 객체를 받을 수 있습니다.
2025-07-03 00:33