optimize icon image