Exemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 public function getColorProfile()
 {
     if (null === $this->colorProfile) {
         $this->colorProfile = ColorProfile::fromFilename(__DIR__ . '/../../../resources/Dot_Gain_15.icc');
     }
     return $this->colorProfile;
 }
Exemplo n.º 2
0
 /**
  * {@inheritdoc}
  */
 public function getColorProfile()
 {
     if (null === $this->colorProfile) {
         $this->colorProfile = ColorProfile::fromFilename(__DIR__ . '/../../../resources/USWebUncoated.icc');
     }
     return $this->colorProfile;
 }
Exemplo n.º 3
0
 /**
  * {@inheritdoc}
  */
 public function getColorProfile()
 {
     if (null === $this->colorProfile) {
         $this->colorProfile = ColorProfile::fromFilename(__DIR__ . '/../../../resources/sRGB_IEC61966-2-1.icc');
     }
     return $this->colorProfile;
 }
Exemplo n.º 4
0
 /**
  * {@inheritdoc}
  */
 public function withColorProfile(ColorProfile $colorProfile)
 {
     $image = clone $this;
     $image->imagick->setImageProfile('icc', $colorProfile->getData());
     return $image;
 }
Exemplo n.º 5
0
 /**
  * {@inheritdoc}
  */
 public function withColorProfile(ColorProfile $colorProfile)
 {
     $image = clone $this;
     $image->gmagick->setimageprofile('ICM', $colorProfile->getData());
     return $image;
 }