Top "Nsimage" questions

on Mac OS X, an NSImage object is a high-level class for manipulating image data

Get pixels and colours from NSImage

I have created an NSImage object, and ideally would like to determine how many of each pixels colour it contains. …

cocoa nsimage
NSImage - can't load image from file

I program command-line application that will load image from Supporting Files. Image is copied in Supporting Files, but when I …

objective-c cocoa command-line nsimage
How to read PNG image to NSImage

how can i read PNG image to NSImage. I tried the following way,but when i get the width and …

cocoa nsimage
NSImage to NSBitmapImageRep

How to convert NSImage to NSBitmapImageRep? I have code: - (NSBitmapImageRep *)bitmapImageRepresentation { NSBitmapImageRep *ret = (NSBitmapImageRep *)[self representations]; if(![ret isKindOfClass:[…

objective-c macos bitmap nsimage nsbitmapimagerep
NSImage to NSData as PNG Swift

I am writing a Mac app based on an iOS app. The code below converts a UIImage to NSData to …

parse-platform uiimage nsdata nsimage uiimagepngrepresentation
Converting CIImage Into NSImage

I'm playing with the Core Image framework. As I understand, if I have an image (NSImage), it needs to be …

objective-c macos cocoa core-image nsimage
Resize and Save NSImage?

I have an NSImageView which I get an image for from an NSOpenPanel. That works great. Now, how can I …

objective-c macos nsimage nsimageview nsopenpanel
NSImage size not real size with some pictures?

I see that sometimes NSImage size is not real size (with some pictures) and CIImage size is always real. I …

macos cocoa core-graphics nsimage
Creating an NSImage from bitmap data

Ok, it appears that the I'm creating a PDFDocument where pixelWidth is incorrect in the images that I created. So …

objective-c cocoa bitmap nsimage cgimage
How to draw a rounded NSImage

I am trying to create a NSImage or NSImageCell with rounded corners inside a NSTableView. I can't get anything to …

cocoa rounded-corners nsimage