protected function afterApplyFilter(ImageResource $aResource)
 {
     $aResource->filter(new ImageFilterNegative());
 }
 protected function beforeApplyFilter(ImageResource $aResource)
 {
     $aResource->filter(new ImageFilterGrayScale());
 }