Subject:
|
Re: LPub mask generation
|
Newsgroups:
|
lugnet.cad.dev
|
Date:
|
Thu, 16 Sep 2004 15:49:49 GMT
|
Viewed:
|
1558 times
|
| |
![Post a public reply to this message](/news/icon-reply.gif) | |
Travis Cobbs wrote:
> I'm not entirely sure, but I'm pretty sure you can create a 32bpp BMP
> file. Normally, 8 bits in each pixel would then be ignored. However,
> I don't see any reason the data wouldn't be there for you to
> interpret yourself.
Careful! A *Windows* color value uses the high bit to indicate that the rest
is an index into the 'System Color Palette' and not a RGB value at all (In
Delphi you have ColorToRGB() to get the RGB value from such a 'color').
I'm not at all sure that you can successfully use the high byte in a
*Windows* .BMP, at least not with the standard routines for loading/saving
bitmaps.
--
Anders Isaksson, Sweden
BlockCAD: http://w1.161.telia.com/~u16122508/proglego.htm
Gallery: http://w1.161.telia.com/~u16122508/gallery/index.htm
|
|
Message is in Reply To:
![](/news/x.gif) | | Re: LPub mask generation
|
| (...) I'm not entirely sure, but I'm pretty sure you can create a 32bpp BMP file. Normally, 8 bits in each pixel would then be ignored. However, I don't see any reason the data wouldn't be there for you to interpret yourself. --Travis Cobbs (20 years ago, 15-Sep-04, to lugnet.cad.dev)
|
21 Messages in This Thread: ![LPub mask generation -Kevin L. Clague (15-Sep-04 to lugnet.cad.dev)](/news/x.gif) ![](/news/246.gif) ![Re: LPub mask generation -Travis Cobbs (15-Sep-04 to lugnet.cad.dev)](/news/x.gif) ![](/news/46.gif) ![You are here](/news/here.gif)
![](/news/x.gif) ![](/news/268.gif) ![Re: LPub mask generation -Don Heyse (16-Sep-04 to lugnet.cad.dev)](/news/x.gif)
![](/news/x.gif) ![](/news/68.gif) ![Re: LPub mask generation -Anders Isaksson (16-Sep-04 to lugnet.cad.dev)](/news/x.gif) ![](/news/246.gif) ![Re: LPub mask generation -Kevin L. Clague (16-Sep-04 to lugnet.cad.dev)](/news/x.gif) ![](/news/46.gif) ![Re: LPub mask generation -Travis Cobbs (16-Sep-04 to lugnet.cad.dev)](/news/x.gif) ![](/news/46.gif) ![Re: LPub mask generation -Kevin L. Clague (20-Sep-04 to lugnet.cad.dev)](/news/x.gif) ![](/news/46.gif) ![Re: LPub mask generation -Travis Cobbs (20-Sep-04 to lugnet.cad.dev)](/news/x.gif) ![](/news/46.gif) ![Re: LPub mask generation -Travis Cobbs (21-Sep-04 to lugnet.cad.dev)](/news/x.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![Re: LPub mask generation -Kevin L. Clague (16-Sep-04 to lugnet.cad.dev)](/news/x.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![Re: LPub mask generation -Kevin L. Clague (17-Sep-04 to lugnet.cad.dev)](/news/x.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: LPub mask generation -Kevin L. Clague (20-Sep-04 to lugnet.cad.dev)](/news/x.gif) ![](/news/46.gif) ![Re: LPub mask generation -Anders Isaksson (21-Sep-04 to lugnet.cad.dev)](/news/x.gif) ![](/news/46.gif) ![Re: LPub mask generation -Kevin L. Clague (21-Sep-04 to lugnet.cad.dev)](/news/x.gif) ![](/news/46.gif) ![Re: LPub mask generation -Mike Walsh (22-Sep-04 to lugnet.cad.dev)](/news/x.gif) ![](/news/246.gif) ![Re: LPub mask generation -Kevin L. Clague (23-Sep-04 to lugnet.cad.dev)](/news/x.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: LPub mask generation -Kevin L. Clague (4-Oct-04 to lugnet.cad.dev)](/news/x.gif) ![](/news/46.gif) ![Re: LPub mask generation -Mike Walsh (7-Oct-04 to lugnet.cad.dev)](/news/x.gif) ![](/news/46.gif) ![Re: LPub mask generation -Kevin L. Clague (13-Oct-04 to lugnet.cad.dev)](/news/x.gif) ![](/news/46.gif) ![Re: LPub mask generation -Mike Walsh (13-Oct-04 to lugnet.cad.dev)](/news/x.gif)
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|