Now, outputing image to JPEG format is available

See #4