Forum und email

imageinterlace

(PHP 4, PHP 5)

imageinterlace — Enable or disable interlace

설명

int imageinterlace ( resource $image [, int $interlace ] )

imageinterlace() turns the interlace bit on or off.

If the interlace bit is set and the image is used as a JPEG image, the image is created as a progressive JPEG.

매개변수

font

내장 글꼴 1, 2, 3, 4, 5(큰 숫자가 큰 글꼴)나 imageloadfont()로 등록한 글꼴 식별자를 사용할 수 있습니다.

interlace

If non-zero, the image will be interlaced, else the interlace bit is turned off.

반환값

Returns 1 if the interlace bit is set for the image, 0 otherwise.