PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

Gmagick::setimagedepth

(PECL gmagick >= Unknown)

Gmagick::setimagedepthSets the image depth

Description

public Gmagick Gmagick::setimagedepth ( int $depth )

Sets the image depth

Parameters

depth

The image depth in bits: 8, 16, or 32.

Return Values

The Gmagick object on success.

Errors/Exceptions

Throws an GmagickException on error.

PHP Manual