Imagick::trimImage

(PECL imagick 2.0.0) Remove edges from the image bool Imagick::trimImage ( float $fuzz ) Remove edges that are the background color from the image. This method is available if Imagick has been compiled against ImageMagick version 6.2.9 or newer. Parameters: fuzz By default target must match a particular pixel color exactly. However, in many cases two colors may differ by

Imagick::transverseImage

(PECL imagick 2.0.0) Creates a horizontal mirror image bool Imagick::transverseImage ( void ) Creates a horizontal mirror image by reflecting the pixels around the central y-axis while rotating them 270-degrees. This method is available if Imagick has been compiled against ImageMagick version 6.2.9 or newer. Returns: Returns TRUE on success. Exampl

Imagick::transposeImage

(PECL imagick 2.0.0) Creates a vertical mirror image bool Imagick::transposeImage ( void ) Creates a vertical mirror image by reflecting the pixels around the central x-axis while rotating them 90-degrees. This method is available if Imagick has been compiled against ImageMagick version 6.2.9 or newer. Returns: Returns TRUE on success. Examples:

Imagick::transparentPaintImage

(No version information available, might only be in Git) Paints pixels transparent bool Imagick::transparentPaintImage ( mixed $target, float $alpha, float $fuzz, bool $invert ) Paints pixels matching the target color transparent. This method is available if Imagick has been compiled against ImageMagick version 6.3.8 or newer. Parameters: target The target color to paint

Imagick::transformImageColorspace

(No version information available, might only be in Git) Transforms an image to a new colorspace. bool Imagick::transformImageColorspace ( int $colorspace ) Transforms an image to a new colorspace. Parameters: colorspace The colorspace the image should be transformed to, one of the COLORSPACE constants e.g. Imagick::COLORSPACE_CMYK. Returns: Retu

Imagick::transformImage

(PECL imagick 2.0.0) Convenience method for setting crop size and the image geometry Imagick Imagick::transformImage ( string $crop, string $geometry ) A convenience method for setting crop size and the image geometry from strings. This method is available if Imagick has been compiled against ImageMagick version 6.2.9 or newer. Parameters: crop A crop geometry string. Thi

Imagick::__toString

(No version information available, might only be in Git) Returns the image as a string. string Imagick::__toString ( void ) Returns the current image as string. This will only return a single image; it should not be used for Imagick objects that contain multiple images e.g. an animated GIF or PDF with multiple pages. Returns: Returns the string content on success or an empty string on failure.

Imagick::tintImage

(PECL imagick 2.0.0) Applies a color vector to each pixel in the image bool Imagick::tintImage ( mixed $tint, mixed $opacity ) Applies a color vector to each pixel in the image. The length of the vector is 0 for black and white and at its maximum for the midtones. The vector weighing function is f(x)=(1-(4.0*((x-0.5)*(x-0.5)))). Parameters: tint Applies a color vector to

Imagick::thumbnailImage

(PECL imagick 2.0.0) Changes the size of an image bool Imagick::thumbnailImage ( int $columns, int $rows [, bool $bestfit = false [, bool $fill = false ]] ) Changes the size of an image to the given dimensions and removes any associated profiles. The goal is to produce small, low cost thumbnail images suited for display on the Web. If TRUE is given as a third parameter then columns and rows parameters are used as maximums

Imagick::thresholdImage

(PECL imagick 2.0.0) Changes the value of individual pixels based on a threshold bool Imagick::thresholdImage ( float $threshold [, int $channel = Imagick::CHANNEL_ALL ] ) Changes the value of individual pixels based on the intensity of each pixel compared to threshold. The result is a high-contrast, two color image. Parameters: threshold Changes the value of individual