Skip navigation.
 
mlResizing NSimage
FROM : John Wood
DATE : Wed Nov 24 13:13:55 2004

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

Related mailsAuthorDate
mlResizing NSimage John Wood Nov 24, 13:13
mlRe: Resizing NSimage Yann Bizeul Nov 25, 15:32