Imagick examples refactored.