improve image rendering, add density line