Resizing NSimage
Resizing NSimage
- Subject: Resizing NSimage
- From: "John Wood" <email@hidden>
- Date: Wed, 24 Nov 2004 12:13:55 +0000
My program sends a down sized image on request.
Currently to do this I find a bitmap representation for the NSImage and then
step through it to get a rough smaller image to send out on a socket.
It works, but of course the image isn't great.
So to improve it, I'm looking at Cocoa functions and it seems possible to
draw the image at different sizes. I guess I could use Quartz to draw to an
offscreen image?? Then access that image.
Before going down that path, any simpler / better suggestions...something
like producing a resized bitmap directly from the original one...
Thanks,
John
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden