Move JPEG renderer to the src tree instead of test
Add Image.getImageType() method