nanogui: convbmp and GR_BITMAP vs.MWUCHAR


Previous by date: 7 May 2004 05:28:22 +0100 GrNewBitmaoRegion, read mask from file?, tj
Next by date: 7 May 2004 05:28:22 +0100 Re: convbmp and GR_BITMAP vs.MWUCHAR, Alex Holden
Previous in thread:
Next in thread: 7 May 2004 05:28:22 +0100 Re: convbmp and GR_BITMAP vs.MWUCHAR, Alex Holden

Subject: convbmp and GR_BITMAP vs.MWUCHAR
From: tj ####@####.####
Date: 7 May 2004 05:28:22 +0100
Message-Id: <409B104C.8020801@comcast.net>

In looking at the demos for  tux and other region apps I notice that the 
mask array is of type GR_BITMAP. But, When I run convbmp againest a 
monochrome .bmp file, I get an array of type MWUCHAR. The -s option has 
no effect.

And since Intel is little Endian and array of 8-bit is not read teh same 
as an array of 16 bit values.

GrNewBitmapRegion() requires a pointer to GR_BITMAP. So, how do you get 
GR_BITMAP out of convbmp?

tj



Previous by date: 7 May 2004 05:28:22 +0100 GrNewBitmaoRegion, read mask from file?, tj
Next by date: 7 May 2004 05:28:22 +0100 Re: convbmp and GR_BITMAP vs.MWUCHAR, Alex Holden
Previous in thread:
Next in thread: 7 May 2004 05:28:22 +0100 Re: convbmp and GR_BITMAP vs.MWUCHAR, Alex Holden


Powered by ezmlm-browse 0.20.