CIImage draw issue?
CIImage draw issue?
- Subject: CIImage draw issue?
- From: Henry Joseph W <email@hidden>
- Date: Thu, 1 Mar 2007 17:09:13 +0000
I subclass the NSView to myView,then I want to draw a CIImage object
on it.
- (void)drawRect:(NSRect)rect {
[drawImage drawAtPoint:NSMakePoint(0,0)
fromRect:rect
operation:NSCompositeSourceOver
fraction:1.0];
}
drawImage is CIImage Object generated from a bitmap picture.
However, when the draw method succeed, the pixel in the myView seems
to be magnified in contrast to the origin picture.
Hmm, for example , the origin picture is 320x200, the drawImage seems
to be the size of 640x400 or much more bigger. So some mosaic appears
on the generated picture which makes it very ugly.
Can someone tell me how to make the drawImage to be the origin size
of the source picture?
Thank you in advance.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden