• 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
Re: Newbie:The best way to resample a bitmap data?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
References: 
 >Newbie:The best way to resample a bitmap data? (From: James Chen <email@hidden>)

  • Prev by Date: Re: Newbie:The best way to resample a bitmap data?
  • Next by Date: Re: Dynamically Generating GUI forms from an XML file?
  • Previous by thread: Re: Newbie:The best way to resample a bitmap data?
  • Next by thread: manual key value binding
  • Index(es):
    • Date
    • Thread