added possibility to render parts of a .png file as icons