PDF image improvements Ticket # 841

Signed-off-by: Sonia <sonia@nudge.ca>