Implemented ImageOptimizer