I have a collection of objects which describe an image-name, its size and it\'s X/Y location.The collection is sorted by \"layers\", so I can composite the images in a sort of painter\'s algorithm.
I am using the following code to save a frame of a movie to my desktop: NSCIImageRep *imageRep = [NSCIImageRep imageRepWithCIImage:[CIImage imageWithCVImageBuffer:imageBuffer]];
Assume I load an NSImage of dimensions 2000x2000 and display only a portion of the picture inside an NSScrollView with frame size 500x300. How can I calculate the distance between the images 0,0 origi
When I try to crop an image using NSIma开发者_如何学Goge\'s imageFromRect, I get an EXEC_BAD_ACCESS crash about 50% of the time. This is something that runs on startup (triggered in an awakeFromNib),
Am I missing something here? var someNumber = 123.456; someNumber = someNumber.toFixed(2); alert(typeof(someNumber));
I have to make a prototype application where I superimpose a small image over the file icons of a given folder.
Why is this code setting artis开发者_Go百科tImage to an image with 0 width and 0 height? NSURL *artistImageURL = [NSURL URLWithString:@\"http://userserve-ak.last.fm/serve/252/8581581.jpg\"];
I need to create an image badge in Cocoa.Basically I need to take two images one smaller then the other and ov开发者_如何转开发erlay the smaller image over the larger image with a certain offset.Does
I have an NSImage and want to replace one color in it with another (e.g. replace all the blue with a green colour开发者_开发百科)Is there an easy way to do this and if not, how could I get this functi
I am trying to make a simple document-based cocoa application that can save and load images in pdf files.