• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
resizing non 8-bit per component images
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
  • Prev by Date: Re: C to Objective-C
  • Next by Date: Re: C to Objective-C
  • Previous by thread: NSHighlightRect is dead ?
  • Next by thread: Get access to MyDocument
  • Index(es):
    • Date
    • Thread