It is not saving the same image in one device one standard image when I open it display wrong image(-1).
on another device its saving blank image of file size.
yeah .. its the first thing i notice in your project.. no file extension(.png) , didnt realize it was the issue because the problem is not stated clearly