/** * {@inheritdoc} */ public function getColorProfile() { if (null === $this->colorProfile) { $this->colorProfile = ColorProfile::fromFilename(__DIR__ . '/../../../resources/Dot_Gain_15.icc'); } return $this->colorProfile; }
/** * {@inheritdoc} */ public function getColorProfile() { if (null === $this->colorProfile) { $this->colorProfile = ColorProfile::fromFilename(__DIR__ . '/../../../resources/USWebUncoated.icc'); } return $this->colorProfile; }
/** * {@inheritdoc} */ public function getColorProfile() { if (null === $this->colorProfile) { $this->colorProfile = ColorProfile::fromFilename(__DIR__ . '/../../../resources/sRGB_IEC61966-2-1.icc'); } return $this->colorProfile; }
/** * {@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; }