[futurebasic] Re: Dithering pictures...

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : January 1998 : Group Archive : Group : All Groups

From: tatewake@... (Terence Jordan)
Date: Wed, 28 Jan 1998 01:00:09 -0400
>Hi,
>
>I have a PICT (thousands of colors) that i would like to
>display in a picture field with dithering when the screen
>is set to 256 colors. Is it possible ?

Use "CopyBits" and for the final flag, use "_ditherCopy"
Like so:
CALL COPYBITS(#srcWrld& + 2,#dstWrld& + 2,#srcRect&,#dstRect&,_ditherCopy,0)
or use FN copyBits from the GRFX.FLTR from PG

HTH



-- Terence Jordan (tatewake@...)
Inspired Software. http://inspired.netstreet.net/
Macintosh, Dos, Windows, and BeOS software solutions.
Phone: 407-728-7563
............................................
. New: Renegade Space Ninja for Macintosh! .
.      Visit our page for more info.       .
............................................