LOADING STUFF...

PHP:imageinterlace()的用法_GD库图像处理函数

技术教程3小时前发布 北陌
10 0 0

PHP:imageinterlace()的用法_GD库图像处理函数

imageinterlace

(PHP 4, PHP 5)

imageinterlace — 激活或禁止隔行扫描

说明

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

imageinterlace() 打开或关闭隔行扫描的比特标记。如果
interlace 为 1 则图像为隔行扫描的,如果
interlace 为 0 则图像为非隔行扫描的。

如果设定了隔行扫描比特标记而图像使用 JPEG 格式,则图像被创建为渐进式 JPEG。

本函数返回图像中是否设定了隔行扫描比特标记。

© 版权声明

相关文章

暂无评论

暂无评论...