• 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: Fw: NSBitmapImageRep bitmapData and 16 bits per sample
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fw: NSBitmapImageRep bitmapData and 16 bits per sample


  • Subject: Re: Fw: NSBitmapImageRep bitmapData and 16 bits per sample
  • From: Marco Binder <email@hidden>
  • Date: Mon, 9 Jun 2003 17:20:49 +0200

As you correctly pointed out in your first answer, I should not care about the type. If I use
instead
unsigned short *destData = [destImageRep bitmapData];
the compiler issues a warning but then the app produces a "real" 16-bits image.


unsigned short* destData = (unsigned short*) [destImageRep bitmapData];

gets rid of the compiler warning!


Marco


--
|\ /| email@hidden http://www.marco-binder.de
| \/ | Telefon: 07531 / 94 19 94 Fax: 07531 / 94 19 92
| |ARCO Snail-Mail: Banater Str. 3 - 78467 Konstanz
BINDER _____________________________________________________
_______________________________________________
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: 
 >Re: Fw: NSBitmapImageRep bitmapData and 16 bits per sample (From: "Geraldine Joffre" <email@hidden>)

  • Prev by Date: Re: Serious AddressBook framework problems
  • Next by Date: Re: Good Habits (was: Re: C question for you old guys ;-))
  • Previous by thread: Re: Fw: NSBitmapImageRep bitmapData and 16 bits per sample
  • Next by thread: [ANN] QSW_UUID.framework posted
  • Index(es):
    • Date
    • Thread