-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a PNG image that has an unsupported bitmap graphics context pixel format. Whenever I attempt to resize the image, CGBitmapContextCreate() chokes on the unsupported format
(Error formatted for easy reading):
CGBitmapContextCreate: unsupported parameter combination:
8 integer bits/component;…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a CGImage (core graphics, C/C++). It's grayscale. Well, originally it was B/W, but the CGImage may be RGB. That shouldn't matter. I want to create a CCITT-Group 4 TIFF.
I can create an LZW TIFF (grayscale or color) via creating a destination with the correct dictionary and adding the image…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
What I am trying to do (under 10.6)....
I have an image (jpeg) that includes an icon in the image file (that is you see an icon based on the image in the file, as opposed to a generic jpeg icon in file open dialogs in a program). I wish to edit the exif metadata, save it back to the image in a new…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi, lets say I have a CGImage and want to store it in the Photos app that comes standard with every iPod Touch/iPhone how would I do this?
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I want to create a CGImage with the color information I already have
Here is the code for converting the CGImage to CML, CML_color is a matrix structure
- (void)CGImageReftoCML:(CGImageRef *)image destination:(CML_color &)dest{
CML_RGBA p;
NSUInteger width=CGImageGetWidth(image);
…
>>> More