Hi all,

I'm developing an application that change the palette of an indexed GIF
image, using the following code:

ByteLookupTable blut=new ByteLookupTable(0,myData);
BufferedImageOp bufiOp = new LookupOp(blut, null);
bufiWorld=bufiOp.filter(bufiWorld,null);

but it outputs the following exception:

java.lang.IllegalArgumentException: LookupOp cannot be performed on an
indexed image

How can I avoid it?

Thanks in advance.

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