added imageFromJPEG to UIImage