Autodetect image size.
JPG support.