mod img in order to get a lesser file size