php / 8.1.5 / imagick.setimageredprimary.html /

Imagick::setImageRedPrimary

(PECL imagick 2, PECL imagick 3)

Imagick::setImageRedPrimarySets the image chromaticity red primary point

Description

public Imagick::setImageRedPrimary(float $x, float $y): bool

Sets the image chromaticity red primary point.

Parameters

x
y

Return Values

Returns true on success.

Errors/Exceptions

Throws ImagickException on error.

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/imagick.setimageredprimary.php