On 22/02/2013, at 1:30 PM, Ken Thomases wrote:
> I don't know that you can. You should probably create a fresh CGImage from
> the data for each render, unless you know that you'll render repeatedly with
> the same CGImage (which implies "with the same image content"). I believe
> that creat
On Feb 21, 2013, at 7:15 PM, Graham Cox wrote:
> I have a simple requirement: take a buffer I malloc myself and get that
> rendered as an image using CGImage.
>
> I'm creating a data provider using CGDataProviderCreateWithData(), then using
> that to create a CGImage of the desired dimensions a
On Feb 21, 2013, at 5:15 PM, Graham Cox wrote:
> How can I set up an image that just blits my buffer and doesn't try anything
> clever like caching?
Does it have to be a CGImageRef?
NSBitmapImageRep is the easiest route if not.
--
Seth Willits
_
Hi all,
I have a simple requirement: take a buffer I malloc myself and get that
rendered as an image using CGImage.
I'm creating a data provider using CGDataProviderCreateWithData(), then using
that to create a CGImage of the desired dimensions and format. This is later
drawn using CGContextDr