resizing non 8-bit per component images
resizing non 8-bit per component images
- Subject: resizing non 8-bit per component images
- From: Josh Anon <email@hidden>
- Date: Fri, 4 Oct 2002 10:28:39 -0500
Hi all,
I'm trying to figure out how to resize non 8-bit per component images
in an offscreen context using NSImage. I've been able to figure out
how to resize images by making a new image and drawing into it, but the
cached context in that image is only 8-bits per component.
Well, I tried removing that representation, making an appropriate
16-bit/component one, and drawing into that, but I get back a wrong
image.
Any thoughts? Thanks!
Josh
--
//email@hidden ||
http://www.areax.net
"As a first approximation we have modeled a gelatin cube governed by
the first order Jell-O Equation with judiciously selected surface
properties, i.e. color=(0,255,0)." - [Heckbert 87]
_______________________________________________
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.