Use Jpeg as default image format, add format option