further simplify image rendering