Re: Best way to save a CIImage to disk

2009-05-05 Thread Sandy McGuffog
I also had (have actually) this problem. The issue appears to be that CoreImage seems to do its own caching. If you watch the retain counts on the underlying image data that you pass to CoreImage, it leave retains in place for a long time. Under testing, when I repeatedly passed an image wi

Re: Best way to save a CIImage to disk

2009-05-04 Thread Michael Ash
On Mon, May 4, 2009 at 4:58 PM, Jan-Willem Buurlage wrote: > I'm running a CIImage through some CIFilters, and I want to save the > returned CIImage to disk. Everything is very fast up until the point where I > try to actually save the image. I first create an NSBitmapImageRep with my > CIImage, g

Best way to save a CIImage to disk

2009-05-04 Thread Jan-Willem Buurlage
I'm running a CIImage through some CIFilters, and I want to save the returned CIImage to disk. Everything is very fast up until the point where I try to actually save the image. I first create an NSBitmapImageRep with my CIImage, get the needed NSData from that object, and then save it to d