Image optimization for retina display