Hi,

I have tried several different approaches to generate a BufferedImage using
different combinations of ColorModel and SampleModel. Most approaches work
fine for displaying the image at its original scale but I need to be able
to apply transformations to the image and the AffineTransformOp.filter
method chokes on every BufferedImage created with short data.

Requirements:
* short [] 1-band data
* Could use IndexColorModel or create a custom color model that extends
ColorModel.
* Must be a solution in jdk 1.3.1

Please suggest an approach that will work for my raw 16-bit 1-band data.

Thanks,
Mara

===========================================================================
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