Questions tagged [cgbitmapcontext]

35 questions
0
votes
0 answers

Determine if a CGContextRef points to a CGBitmapContext

I was wondering how to ask an "isKindOfClass" to a CGContextRef in order to determine if it's a standard CGContext or a CGBitmapContext. I can't find a way to determine it :/ Thanks in advance
0
votes
0 answers

Render nsimage offscreen and set pointer for decklink videoframe

I'm developing on osx. I'm trying to set a pointer to pixel data rendered offscreen from an nsimage object. This is my code: - (id)initWithFrame:(NSImage*)image { if (self = [super init]) { // set size NSRect rect = NSMakeRect(0, 0, [image…
Thomas
  • 43
  • 5
0
votes
1 answer

Drawing frames from a movie into a CGBitmapContext

I have an app that needs to render frames from a video/movie into a CGBitmapContext with an arbitrary CGAffineTransform. I'd like it to have a decent frame rate, like 20fps at least. I've tried using AVURLAsset and [AVAssetImageGenerator…
0
votes
1 answer

CGBitmapContext in MonoTouch throws invalid handle exception

I'm new to MonoTouch and I've recently been converting code from standard C# to MonoTouch compliant code so it can be used within an iPhone application. I've managed to convert the code, however I've run into a problem with this method which I use…
Jack Nutkins
  • 1,555
  • 5
  • 36
  • 71
0
votes
1 answer

Options to CGBitmapContext for Drawining

Is there an option to the CGBitmapContext or Quartz 2D? I want to use it for drawing on an UIImage in monotouch. thanks Alex.
Alex
  • 459
  • 3
  • 14
1 2
3