cgbitmapcontextcreate
setNeedsDisplay for UIImage doesn't work
I am trying to draw a line on an UIImage with the help of a dataBuffer when a button gets touched, but the drawRect: .. methode doesn´t get called. (so, the line i want to draw does\'t appear)[详细]
2023-04-08 08:43 分类:问答error in CGBitmapContextCreate
i\'m trying to create UIImage from the sampleBufferData and here what i have in the console : CGBitmapContextCreate: invalid data bytes/row: should be at least 1920 for 8 integer bits/component, 3 co[详细]
2023-03-30 03:05 分类:问答UIImage/CGImage changing my pixel color
I have an image that is totally white in its RGB components, with varying alpha -- so, for example, 0xFFFFFF09 in RGBA format.But when I load this image with either UIImage or CGImage APIs, and then d[详细]
2023-03-29 02:19 分类:问答resize image with aspect ratio
I try to resize image with aspect ratio, like done in the following links Resizing UIimages pulled from the Camera also ROTATES the UIimage?[详细]
2023-03-16 05:10 分类:问答Drawing in Objective-c (iOS)
I develop an iOS app with user-drawing as one of its parts. I want to draw over a bitmap\'s context. This can be implemented in two ways:[详细]
2023-02-28 04:45 分类:问答iPhone CGContextRef CGBitmapContextCreate unsupported parameter combination
In my application I need to resize and crop some images, stored locally and online. I am using Trevor Harmon\'s tutorial which implements UIImage+Resize.[详细]
2023-02-22 05:24 分类:问答iPhone SDK - CGBitmapContextCreate
I would like to create an image of my own. I already k开发者_如何学JAVAnow its width (320*2 = 640) and height (427).[详细]
2023-02-19 01:23 分类:问答UIGraphicsBeginImageContext vs CGBitmapContextCreate
I\'m trying to change color of an image in a background thread. Apple doc says UIGraphicsBeginImageContext can only be called from main thread, and I\'m trying to use CGBitmapContextCreate:[详细]
2023-02-04 06:59 分类:问答CGContext & CGBitmapContextCreateImage errors, how to fix?
I\'ve been at this for hours now, and don\'t even know how to debug this error. Maybe there\'s an SO expert who knows what\'s going on.[详细]
2023-01-14 09:33 分类:问答iPhone: Changing CGImageAlphaInfo of CGImage
I have a PNG image that开发者_JS百科 has an unsupported bitmap graphics context pixel format. Whenever I attempt to resize the image, CGBitmapContextCreate() chokes on the unsupported format[详细]
2022-12-22 22:45 分类:问答