Re: Fw: NSBitmapImageRep bitmapData and 16 bits per sample
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.