Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<Gmagick::setimagegammaGmagick::setimageindex>
^GmagickLast updated: Mon, 26 Oct 2026

Gmagick::setimagegreenprimary

(PECL gmagick >= Unknown)

Gmagick::setimagegreenprimary — Sets the image chromaticity green primary point

Description

public function Gmagick::setimagegreenprimary(float $x, float $y): Gmagick

Sets the image chromaticity green primary point.

Parameters

x

The chromaticity green primary x-point.

y

The chromaticity green primary y-point.

Return Values

The Gmagick object.

Errors/Exceptions

Throws an GmagickException on error.


<Gmagick::setimagegammaGmagick::setimageindex>
^GmagickLast updated: Mon, 26 Oct 2026