@ShehramTahir wrote:
I am creating a JPEG image with writeFile.
It is giving me success on this and creating an jpeg image in the directory.
But when I open that file manually by going into that directory it gives me error that
"Oops! Couldn't load this image"
this.file.writeFile(cordova.file.externalDataDirectory,"image.jpeg","",true).then(succ=>{ console.log("File Write : ",succ) },err=>{ console.log("File Write Error : ",err) })
How can I solve this problem or any one can guide me what is the other method to create an jpeg image in ionic.
Posts: 1
Participants: 1