Saving pic, and convert for save to the db