CGImage represents a drawable image object in Core Graphics (the low-level procedural drawing API for iOS and Mac OS X).
I am trying to convert an image into grayscale in the following way: #define bytesPerPixel 4 #define bitsPerComponent 8 -(unsigned char*) …
iphone cocoa-touch cgimageIs there an easy way to do this that works in 10.5? In 10.6 I can use nsImage CGImageForProposedRect: NULL context: NULL …
objective-c cocoa core-graphics nsimage cgimagein my Cocoa application, I load a .jpg file from disk, manipulate it. Now it needs to be written to …
cocoa png core-graphics cgimageI have a UIImage which is loaded from a CIImage with: tempImage = [UIImage imageWithCIImage:ciImage]; The problem is I need …
ios core-graphics core-image cgimage ciimageI am trying to access pixel data from a CGImage. I want to be able to access the RGB values …
iphone ios cgimageIn my application I need to resize and crop some images, stored locally and online. I am using Trevor Harmon's …
iphone uiimage cgcontext cgimage cgbitmapcontextcreateI'm trying to create a UIImage from the ALAssetsGroup#posterImage method. In Objective-C, I could simply call [UIImage imageWithCGImage:group.…
ios swift uiimage core-foundation cgimageI have a UIImage that I'm getting from a UIImagePickerController. When I receive the image from the - (void)imagePickerController:(…
objective-c ios uiimage cgimage