phics context to your color, eg. g2.setColor(Color.red)
5. draw onto offscreen buffered image, eg. g2.draw(
Regards,
Karen
-Original Message-
From: Paul Szawlowski [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 05, 2002 9:41 AM
To: [EMAIL PROTECTED]
Subject: [JAVA2D] IndexColorModel
H
Hi all,
I have an BufferedImage with an IndexColorModel and a
MultiPixelPackedSampleModel using 4 bits per pixel as index info. Now I
want to draw on this image using its Graphics2D methods and draw the
image on a JPanel after each drawing operation( e.g. a line). How do I
set a specific color de
Hi all,
I have an BufferedImage with an IndexColorModel and a MultiPixelPackedSampleModel
using 4 bits per pixel as index info. Now I want to draw on this image using its
Graphics2D methods and draw the image on a JPanel after each drawing operation( e.g. a
line). How do I set a specific color
Hi,
I need to construct an appropriate ColorModel for a
palette-color image. Each value in the table is a 16bit unsigned.
The IndexColorModel only provides 8bit bands for the index
values. How do I construct a working ColorModel?
Thank you,
Stephan
=
Hi,
I'm having a bit of trouble using Bilinear interpolation on images
using an IndexColorModel with alpha values that change according to a
threshold set by the user. It works fine with Nearest-Neighbor
interpolation, but with the Bilinear hint, I'm getting completely
transparent images. Any ide