private function registerEffects()
    {
        // Both for GD and Imagick
        ImagerService::registerEffect('grayscale', GreyscaleEffect::class);
        ImagerService::registerEffect('greyscale', GreyscaleEffect::class);
        ImagerService::registerEffect('negative', NegativeEffect::class);
        ImagerService::registerEffect('blur', BlurEffect::class);
        ImagerService::registerEffect('sharpen', SharpenEffect::class);
        ImagerService::registerEffect('gamma', GammaEffect::class);
        ImagerService::registerEffect('colorize', ColorizeEffect::class);

        // Imagick only
        ImagerService::registerEffect('colorblend', ColorBlendEffect::class);
        ImagerService::registerEffect('sepia', SepiaEffect::class);
        ImagerService::registerEffect('tint', TintEffect::class);
        ImagerService::registerEffect('contrast', ContrastEffect::class);
        ImagerService::registerEffect('modulate', ModulateEffect::class);
        ImagerService::registerEffect('normalize', NormalizeEffect::class);
        ImagerService::registerEffect('contraststretch', ContrastStretchEffect::class);
        ImagerService::registerEffect('posterize', PosterizeEffect::class);
        ImagerService::registerEffect('unsharpmask', UnsharpMaskEffect::class);
        ImagerService::registerEffect('clut', ClutEffect::class);
        ImagerService::registerEffect('levels', LevelsEffect::class);
        ImagerService::registerEffect('quantize', QuantizeEffect::class);
    }
private function registerEffects()
    {
        // Both for GD and Imagick
        ImagerService::registerEffect('grayscale', GreyscaleEffect::class);
        ImagerService::registerEffect('greyscale', GreyscaleEffect::class);
        ImagerService::registerEffect('negative', NegativeEffect::class);
        ImagerService::registerEffect('blur', BlurEffect::class);
        ImagerService::registerEffect('sharpen', SharpenEffect::class);
        ImagerService::registerEffect('gamma', GammaEffect::class);
        ImagerService::registerEffect('colorize', ColorizeEffect::class);

        // Imagick only
        ImagerService::registerEffect('colorblend', ColorBlendEffect::class);
        ImagerService::registerEffect('sepia', SepiaEffect::class);
        ImagerService::registerEffect('tint', TintEffect::class);
        ImagerService::registerEffect('contrast', ContrastEffect::class);
        ImagerService::registerEffect('modulate', ModulateEffect::class);
        ImagerService::registerEffect('normalize', NormalizeEffect::class);
        ImagerService::registerEffect('contraststretch', ContrastStretchEffect::class);
        ImagerService::registerEffect('posterize', PosterizeEffect::class);
        ImagerService::registerEffect('unsharpmask', UnsharpMaskEffect::class);
        ImagerService::registerEffect('clut', ClutEffect::class);
        ImagerService::registerEffect('levels', LevelsEffect::class);
        ImagerService::registerEffect('quantize', QuantizeEffect::class);
    }
private function registerEffects ( ) { // Both for GD and Imagick ImagerService :: registerEffect ( 'grayscale' , GreyscaleEffect :: class ) ; ImagerService :: registerEffect ( 'greyscale' , GreyscaleEffect :: class ) ; ImagerService :: registerEffect ( 'negative' , NegativeEffect :: class ) ; ImagerService :: registerEffect ( 'blur' , BlurEffect :: class ) ; ImagerService :: registerEffect ( 'sharpen' , SharpenEffect :: class ) ; ImagerService :: registerEffect ( 'gamma' , GammaEffect :: class ) ; ImagerService :: registerEffect ( 'colorize' , ColorizeEffect :: class ) ; // Imagick only ImagerService :: registerEffect ( 'colorblend' , ColorBlendEffect :: class ) ; ImagerService :: registerEffect ( 'sepia' , SepiaEffect :: class ) ; ImagerService :: registerEffect ( 'tint' , TintEffect :: class ) ; ImagerService :: registerEffect ( 'contrast' , ContrastEffect :: class ) ; ImagerService :: registerEffect ( 'modulate' , ModulateEffect :: class ) ; ImagerService :: registerEffect ( 'normalize' , NormalizeEffect :: class ) ; ImagerService :: registerEffect ( 'contraststretch' , ContrastStretchEffect :: class ) ; ImagerService :: registerEffect ( 'posterize' , PosterizeEffect :: class ) ; ImagerService :: registerEffect ( 'unsharpmask' , UnsharpMaskEffect :: class ) ; ImagerService :: registerEffect ( 'clut' , ClutEffect :: class ) ; ImagerService :: registerEffect ( 'levels' , LevelsEffect :: class ) ; ImagerService :: registerEffect ( 'quantize' , QuantizeEffect :: class ) ; }
Register built-in effects
Register built - in effects