Implement a functional interface base on an image.