From: | Thilo K�hler |
Date: | 11 Jul 2001 at 01:29:51 |
Subject: | Re: ReMap problem |
Hello Nick
> I'm trying to remap colour 1 in a bitmap before using GetaShape to
> grab some digits for a clock I'm writing, but nothing happens, the
> digits stay black. here is the relevent piece of code:
>
> BitMap 0,99,29,1
> DecodeILBM 0,?iffpic ;picture is 2 colour, 0=white 1=black
...
The bitmap you use has only 1 bitplane. If you
want to remap color 1 to - let`s say - color 5, you would need
at least 3 bitplanes (2^3 = 8 colors).
Try **
*Bitmap* 0,99,29,x
...
instead where x is the number of desired bitplanes.
Ciao,
Thilo
---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie