/** * {@inheritdoc} */ public function withColorProfile(ColorProfile $colorProfile) { $image = clone $this; $image->imagick->setImageProfile('icc', $colorProfile->getData()); return $image; }
/** * {@inheritdoc} */ public function withColorProfile(ColorProfile $colorProfile) { $image = clone $this; $image->gmagick->setimageprofile('ICM', $colorProfile->getData()); return $image; }