Posted by Turbo Pascal on May 11, 2000 at 14:47:43:
In reply to: Tried it: yep, vert wrong... posted by BitShifter on May 11, 2000 at 11:35:20:
: : :
: : : What happens when I paste a small portion of an 8bits bitmap into another 8bits bitmap that has a different palette than the first ?
: : : Anybody tried ?
: : wrong colors in that small part.
: Tried it and the result should have been predicted. Wrong palette !
If you use WINDOWS TBITMAP TYPE for hold the bitmaps and use WINDOWS APIs for
copy/transfer the small part, windows will realize automaticly for you the
pixels to close to the most matched colors.
Turbo Pascal.