PHP
downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Imagick::setImageDispose> <Imagick::setImageDelay
Last updated: Fri, 30 Jan 2009

view this page in

Imagick::setImageDepth

(No version information available, might be only in CVS)

Imagick::setImageDepth画像の深度を設定する

説明

bool Imagick::setImageDepth ( int $depth )
警告

この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。

画像の深度を設定します。

パラメータ

depth

返り値

成功した場合に TRUE を返します。

エラー / 例外

エラー時に ImagickException をスローします。



add a note add a note User Contributed Notes
Imagick::setImageDepth
roland at rhauck dot de
06-Jul-2008 08:35
There seems to be a slight problem with setting image or channel depth. Using Q16, setting the depth to 8 bit,  you will have a 16 bit file.
Doesn't matter with better previews / image processing programs. With Win systems the display for TIFF files is a kind of psychedelic art.
This took me hours until I did check with PhotoShop. Besides: even if it works with RGB and PNG files, this consumes resources. Have a look on file size.
Only way out: change to Q8.
IMHO there is no way to run Q8 and Q16 simultaneously.
The above said concerns also setImageDepth.

Imagick::setImageDispose> <Imagick::setImageDelay
Last updated: Fri, 30 Jan 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites