Re: Newbie:The best way to resample a bitmap data?
Re: Newbie:The best way to resample a bitmap data?
- Subject: Re: Newbie:The best way to resample a bitmap data?
- From: Shawn Erickson <email@hidden>
- Date: Tue, 18 Nov 2003 20:44:46 -0800
On Nov 18, 2003, at 7:46 PM, James Chen wrote:
I can open image file with NSImage initWithContentsOfFile.
And I send a setSize message to it. The size I set seems to applied
when I render the image.
It doesn't change the bitmap data size in the NSBitmapImageRep within
the NSImage.
How do I really resample the bitmap data via NSImage or any other
class in Cocoa?
This may given a start...
http://developer.apple.com/documentation/Cocoa/Conceptual/DrawImages/
Tasks/CachingRepresentations.html#//apple_ref/doc/uid/20000816
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.