cgimage
How to- NSAttributedString to CGImageRef
I\'m writing a QuickLook plugin. Well, everything works. Just want to try it make better ;). Thus the question.[详细]
2022-12-28 06:24 分类:问答Strange crashes on the iPad device with core graphics functions
I am getting a lot of strange EXC_BAD_ACCESS crashes on the iPad that only happen on the device and not in the simulator. I am assuming that they are somehow memory related, but I am not sure. They al[详细]
2022-12-27 03:24 分类:问答NSMutableArray EXC_BAD_EXCESS SIGBUS
I\'ve the following code which causes crashes after sometime as i\'ve set the below code in a timer: CGImageRef cgImage = U开发者_Python百科IGetScreenImage();[详细]
2022-12-26 10:03 分类:问答iPhone: CALayer Memory Leak question
Would the code bellow cause my code to leak? More specifically, am I responsible for releasing the newImage or the contents of mainPageLayer (which is a CALayer object)? I get a memory warning every 4[详细]
2022-12-25 16:14 分类:问答Turning an NSImage* into a CGImageRef?
I开发者_运维百科s there an easy way to do this that works in 10.5? In 10.6 I can use nsImage CGImageForProposedRect: NULL context: NULL hints: NULL[详细]
2022-12-24 23:16 分类:问答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 分类:问答iPhone: How to Maintain Original Image Size Thoughout Image Edits
I am developing an iPhone app that resizes and merges images. I want to select two photos of size 1600x1200 from photo library and then merge both into a single image and save that new image back to[详细]
2022-12-22 10:26 分类:问答Memory leak in CGImage
I\'ve got a memory leak i just don\'t know how to solve. This i开发者_StackOverflow中文版s the leaking code:[详细]
2022-12-21 14:10 分类:问答modify pixels of an CGImageRef
I am using the following code to modify pixels of an image. The issue I have is the color of the images are icorrect.[详细]
2022-12-19 21:54 分类:问答Cocoa Touch - How to cache a CGImageRef or UIImage (not using imageNamed:)?
I have a lot of images in my app so I decided to do some loading in a background thread, and since UIKit isn\'t thread-safe, I filled arrays with CGImageRefs. However, they are not cached and I need t[详细]
2022-12-17 23:57 分类:问答