Re: save screengrab on iphone

2009-01-16 Thread David Duncan
On Jan 16, 2009, at 5:10 AM, Memo Akten wrote: But it doesn't work, I guess imageWithData is expecting image data (i.e. file format), not pixel data. How can I create a UIImage from pixel data? do I need to go into coregraphics? (e.g. CGCreateImage)? Yes. -- David Duncan Apple DTS

save screengrab on iphone

2009-01-15 Thread Memo Akten
Not sure if this is the right place for this, but is it possible for my app to screengrab what its done and save it to the photo app? ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to

Re: save screengrab on iphone

2009-01-15 Thread danton chin
Memo, While in your iPhone app hold down the power off button then hit the home button. A picture of the current screen will be added to your photo album. On Thu, Jan 15, 2009 at 11:08 AM, Memo Akten m...@memo.tv wrote: Not sure if this is the right place for this, but is it possible for my

Re: save screengrab on iphone

2009-01-15 Thread Memo Akten
wow i did not know that, brilliant thanks! is there a way to do it programmatically? i could not find it in the docs... On 15 Jan 2009, at 16:17, danton chin wrote: Memo, While in your iPhone app hold down the power off button then hit the home button. A picture of the current screen

Re: save screengrab on iphone

2009-01-15 Thread Robert Marini
Take a look at UIGraphicsGetImageFromCurrentImageContext() (or something like that, don't have the docs handy). -rob. On Jan 15, 2009, at 11:18 AM, Memo Akten wrote: wow i did not know that, brilliant thanks! is there a way to do it programmatically? i could not find it in the docs...