nsimage
Rendering NSView containing some CALayers to an NSImage
I h开发者_如何学运维ave an NSView that contains an NSScrollView containing a CALayer-backed NSView. I\'ve tried all the usual methods of capturing an NSView into an NSImage (using -dataWithPDFInsideRe[详细]
2023-02-01 09:58 分类:问答NSURL → NSImage → NSImageView
I am开发者_JS百科 playing with AppKit and NSDocument and I don\'t know why this is not working?:[详细]
2023-01-31 06:58 分类:问答NSImage become blurry after transformation
I rotated a NSImage at its center with the NSAffineTransform class and it works. The code is here: - (NSImage*)rotateImage: (NSImage*)myImage angle:(float)rotateAngle {[详细]
2023-01-29 04:47 分类:问答Easiest way to draw an NSImage dimmed out (like a disabled view)
If I\'m not really fussy about the exact tone etc of the dimmed image, is there a quick and dirty way to draw an NSImage slightly dimmed, like this?I\'ve searched online and can\'t really find what I\[详细]
2023-01-27 02:47 分类:问答How to create an NSImage from an NSView that isn't completely visible?
I have an NSView in an NSScrollView that I want to create a开发者_StackOverflown NSImage from. Because it\'s in an NSScrollView it\'s not always completely visible, and it can be even bigger that the[详细]
2023-01-22 12:34 分类:问答Interface Builder Plugin Image inspector property problem on load
i have created a custom NSView that displays an image. i have created a property in Inspector view with binding to File\'s Owner.[详细]
2023-01-22 04:15 分类:问答NSImage coordinate
hey guys, I have a large image, and then i\'m extracting a portion of the image out via: [mBaseImage lockFocus];[详细]
2023-01-19 17:13 分类:问答Using NSImage operation to make a crop effect
I have an NSView that display an image, and i\'d like to make this view acts like a cropping image effect. Then i make 3 rectangles (imageRect, secRect and IntersectRect), the imageRect is the rect wh[详细]
2023-01-13 12:03 分类:问答How can i find the file type after loading NSImage withContentsOfFile
I need to know which image file type was used in the file i loaded with \"initWithConte开发者_开发知识库ntsOfFie\" because i don\'t want to trust the file extension.[详细]
2023-01-13 05:28 分类:问答Can't create an NSImage?
Whenever I do: xxx = [NSImage imageNamed:@\"Package.png\"]; xxx loads but it\'s width and height remain 0. And whenever I try loading it into an NSImageCell I get this error:[详细]
2023-01-12 08:40 分类:问答