I'm forwarding your post to dev team.
I've one missing answer: which application or framework are you testing to retrive "Corrupt JPEG data: 90 extraneous bytes before marker"?
We'd like to completely reproduce your environment.
Thank you a lot for your reply.
I got the point.! When I try to retrieve the NSData from the image I get that issue of the corrupt JPEG.
NSData *data =UIImagePNGRepresentation(sPreview.image);
[data writeToFile:filePath options:NSDataWritingAtomic error:&error];
[m_view vAddImage:imgPath frame:frame path:filePath page:page];// the function of the last post
I don't get that problem.But it doesn't keep the transparency of the image.
Any idea how I can add a bitmap with keeping its transparent background ?