Use `PDJpeg` class for images.

Fixes #18.