major functionality: draw image,save in db, save img from link,file,open and edit img works