Patch to handle direct embedding of jpeg images into pdf Submitted by: Eric Dalquist ebdalqui@mtu.edu Reviewed by: Keiron