Example #1
0
 /**
  * set the image palette to RGB.
  */
 protected function toRGB()
 {
     if ($this->image->palette()->name() == 'cmyk') {
         $this->image->usePalette(new RGB());
     }
 }