Are you sure you don't set "Compress" property?
I get the same problem, but only when I set compress
property.

Cheers!
--- r zane rutledge <[EMAIL PROTECTED]> wrote:
> So I've run into the quirk with PILRC 2.8 where my
> color palette gets
> remapped automatically to the system palette if I
> don't include a
> COLORTABLE, but if I *do* include the colortable,
> WinDrawBitmap()
> doesn't seem to start drawing at the correct place
> in the bitmap!
> Instead it draws the bitmap flawed, wrapping around
> strangely because it
> didn't start at the right pixel...
> 
> At first I thought Sony had implemented
> HRWinDrawBitmap incorrectly for
> 8bpp bitmaps with colortables, but even good ole
> WinDrawBitmap draws the
> bitmap flawed. (If I don't include the colortable,
> everything looks
> fine, but of course all my colors end up remapped to
> the system colors.
> As soon as I include the colortable, the bitmap is
> offset strangely.
> Yes, the colors end up right, by the way.) Am I
> doing something wrong?
> Shouldn't these routines properly take into account
> the colortable? (I
> believe they are stored header, colortable, then
> bits, so it seems to me
> it's just ignoring the colortable info and thinking
> it's already the
> bitmap itself.)
> 
> Any ideas? Essentially I am looking to set the color
> palette with
> WinPalette using a bitmap's color palette, and then
> draw the bitmap.
> Currently the only way to accomplish this is to have
> the colortable
> included with the bitmap (I've been told in the next
> version of PILRC
> I'll have more options on this)....but with
> WinDrawBitmap behaving
> strangely, this just isn't working out.
> 
> Any ideas/suggestions?
> 
> Thanks in advance,
> zane
> -- 
> r. zane rutledge  [EMAIL PROTECTED]
> www - http://www.rzanerutledge.com/palm/
> 
> -- 
> For information on using the Palm Developer Forums,
> or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/


__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

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

Reply via email to