Finished implementing ImageOptimizer