Added JPEG support.

Signed-off-by: Amber Thrall <amber.rose.thrall@gmail.com>