Re: saving images
Re: saving images
- Subject: Re: saving images
- From: Matt Neuburg <email@hidden>
- Date: Mon, 23 Jul 2012 10:08:48 -0700
On Sat, 21 Jul 2012 17:03:23 +0100, "H. Miersch" <email@hidden> said:
>
>i just started a new ios project where i want to download images using NSimage's initwithcontentsofURL: method.
>now i also want to write those images to permanent storage, but how do i do that?
(1) There is no NSImage on iOS.
(2) Do not neglect the Image I/O framework:
http://developer.apple.com/library/ios/#documentation/GraphicsImaging/Conceptual/ImageIOGuide/imageio_intro/ikpg_intro.html
Some sample code (from my book) here:
https://github.com/mattneub/Programming-iOS-Book-Examples/blob/master/ch36p912imageIO/p747p766imageIO/ViewController.m
m.
--
matt neuburg, phd = email@hidden, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
Programming iOS 5! http://shop.oreilly.com/product/0636920023562.do
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden