added simultaneous pdf and image rendering
updated examples