image optimization process implemented