Re: Image scaling
Re: Image scaling
- Subject: Re: Image scaling
- From: Chris Williams <email@hidden>
- Date: Fri, 04 Jan 2008 16:19:46 -0800
- Thread-topic: Image scaling
I have code that creates a JPEG thumbnail in an NSData using
NSBitmapImageRep and drawing into a new context, in a very threaded context
(often several threads doing it at the same time on different directories).
It was, admittedly, leaking like heck down in the OS somewhere, but I
wrapped it in my own autorelease pool and that seems to have cured it. I
have had a thread work on 1M+ images and not run out of memory.
Not sure how to help you with the metadata, I explicitly wanted to strip it
for my app, so I can't help you there. But let me know (off list) if you
want to see my code, and I'll happily provide it. I'm not 1000% sure it's
rock solid, but I've been using it for a few months now in testing, and I
can't break it...
Chris
> From: Adam Knight <email@hidden>
> Subject: Image scaling
>
> I think I'm missing something here.
_______________________________________________
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