Hi, I have a question. I can put an image form a file to Ti.Paint. sample code like this, var paintView = Ti.Paint.createPaintView({ image : '/images/djsp.jpeg', top : 0, right : 0, bottom : 0, left : 0, }); Ti.Paint can show the image.
But When I use a Blob to Ti.Paint, the Ti.Paint can not show the image. sample code like this, var paintView = Ti.Paint.createPaintView({ image : blob, top : 0, right : 0, bottom : 0, left : 0, });
Please help me, Thanks very much!
Tony
2 Answers
I'm not sure is possible, but you always can save the blob and pass the nativePath to the image property.
25
Your Answer
Think you can help? Login to answer this question!