Saving images in iOS - results corrupt
Posted: Wed Apr 09, 2014 5:27 am
I am trying to save an image for example image "a" to the specialfoldpath ("Documents") of iOS. It seems to save, but the file saved is corrupt. When I open the file in Preview, it says,
"The file "9372.png" could not be opened.
It may be damaged or use a file format that Preview doesn't recognize."
This is what I have,
set the defaultFolder to specialFolderPath("Documents")
put image "a" into url ("binfile:9371.png")
or
put the imagedata of image "a" into tPic
put tPic into url ("binfile:9371.png")
any suggestions please!!
Scott
"The file "9372.png" could not be opened.
It may be damaged or use a file format that Preview doesn't recognize."
This is what I have,
set the defaultFolder to specialFolderPath("Documents")
put image "a" into url ("binfile:9371.png")
or
put the imagedata of image "a" into tPic
put tPic into url ("binfile:9371.png")
any suggestions please!!
Scott