PHP » GoLang |
login |
register |
about
|
GoLang Imagick::sigmoidalContrastImage
request it (299)
GoLang replacement for PHP's Imagick::sigmoidalContrastImage
[edit | history]
PHP Imagick::sigmoidalContrastImagePHP original manual for Imagick::sigmoidalContrastImage [ show | php.net ]Imagick::sigmoidalContrastImage(PECL imagick 2.0.0) Imagick::sigmoidalContrastImage — Adjusts the contrast of an image Description
bool Imagick::sigmoidalContrastImage
( bool
$sharpen
, float $alpha
, float $beta
[, int $channel = Imagick::CHANNEL_DEFAULT
] )
Adjusts the contrast of an image with a non-linear sigmoidal contrast
algorithm. Increase the contrast of the image using a sigmoidal transfer
function without saturating highlights or shadows. Contrast indicates
how much to increase the contrast (0 is none; 3 is typical; 20 is
pushing it); mid-point indicates where midtones fall in the resultant
image (0 is white; 50 is middle-gray; 100 is black). Set sharpen to
See also » ImageMagick v6 Examples - Image Transformations — Sigmoidal Non-linearity Contrast Parameters
Return Values
Returns Examples
Example #1 Create a gradient image using Imagick::sigmoidalContrastImage() suitable for blending two images together smoothly, with the blending defined by $contrast and $the midpoint
<?php Errors/ExceptionsThrows ImagickException on error. |
more
Recently updated
more
Most requested
more
Last requests
|