Hi Ole,
   If you use an IndexColorModel with your image, you could map the
sample data to black or white.

jeannette

> X-Accept-Language: en
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Date: Wed, 1 Dec 1999 17:20:53 +0100
> From: Ole Baunb�k Jensen <[EMAIL PROTECTED]>
> Subject: [JAVA2D] black and white
> To: [EMAIL PROTECTED]
>
> Hi
>
> is there a way to 'tell' my image, that  it should intepret the low
> samplevalues
> as white and high samples as black, and viceversa. Could it be that there is a
> parameter in the ColorModel constructor (i cant seem to find it)? Instead of a
> LUT operation, or going through the whole databuffer changing the
samplevalues.
>
>
>
> Ole
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff JAVA2D-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to