retain quality for shrunken images

and remove unnecessary code to create a specific representation