Re: Getting immutable UIImage data pointer without copy?
Re: Getting immutable UIImage data pointer without copy?
- Subject: Re: Getting immutable UIImage data pointer without copy?
- From: Quincey Morris <email@hidden>
- Date: Tue, 14 Nov 2017 20:24:20 -0800
On Nov 14, 2017, at 20:11 , Rick Mann <email@hidden> wrote:
>
> The bigger question is around the copy.
In general, the answer must be that a copy ought to be expected. That’s because
a data provider is not required to have a data buffer, so there’s not
necessarily any underlying data to access directly. (The actual data could be
streamed, or generated procedurally.) If you can limit the kinds of image
sources, you might get a more specific answer.
_______________________________________________
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