At 08:58 AM 11/23/2003, Chris Apers wrote:
Hi,

Can i create a double density bitmap using this :
BITMAPCOLOR ID 2000 "sprt/sprites/s000.bmp" BITMAPPALETTE "palette.make"
NOCOMPRESS TRANSPARENT 255 0 255 DENSITY 2

it seems that the bitmap is not in DENSITY 2
since the generated file works on a sony HiRes device and on
Paml HiRes device the bitmap is drawn as a low density bitmap

The proper syntax in PilRC 3 would be


BITMAPFAMILY ID 2000
BEGIN
    /* need a low-density member, doesn't have to have data */
    BITMAP "sprt/sprits/dummy.bmp" DENSITY 72
    BITMAP "sprt/sprites/s000.bmp"
        BPP 8 NOCOMPRESS DENSITY 144
        BITMAPPALETTE "palette.make"
        TRANSPARENT 255 0 255
END

I'm doing research now on if the low-density member is required. The current source code requires one, but if you're targeting double-density devices only, this may be relaxed before the final PilRC 3.0.

--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com



-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Reply via email to