GoLang Gmagick::resampleimage

request it (339)
GoLang replacement for PHP's Gmagick::resampleimage [edit | history]



Do you know a GoLang replacement for PHP's Gmagick::resampleimage? Write it!

PHP Gmagick::resampleimage

PHP original manual for Gmagick::resampleimage [ show | php.net ]

Gmagick::resampleimage

(PECL gmagick >= Unknown)

Gmagick::resampleimageResample image to desired resolution

Description

public Gmagick Gmagick::resampleimage ( float $xResolution , float $yResolution , int $filter , float $blur )

Resample image to desired resolution.

Parameters

xResolution

The new image x resolution.

yResolution

The new image y resolution.

filter

Image filter to use.

blur

The blur factor where larger than 1 is blurry, smaller than 1 is sharp.

Return Values

The Gmagick object on success

Errors/Exceptions

Throws an GmagickException on error.