R: Managing GIF with trasparency without loss quality

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

R: Managing GIF with trasparency without loss quality

Pirola Davide-2
Hi all,
I am novice in a image processing, and i never used ImageJ... so i need help. :-)

i'm using java AWT in order to generate a GIF image that contains a text and an icon. (icon is a png 8bit readed from filesystem)

All works fine, but this GIF image must have a region transparent.

The only way i found to obtain this result is this code:

http://forums.sun.com/thread.jspa?messageID=10305410



It works!... but the quality is bad. In the resulting image there is some noise, and the colors are different from original (es: background is #FCFCFC instead of #FFFFFF). This is because the color table used for trasparency are not optimized (i think).



Question:

There is something in  ImageJ that can help me?

For example some class that i can use to optimize the color table or for directly generate the image i need (substituting the awt).



Thanks

Davide

________________________________
Le informazioni contenute nella presente e-mail potrebbero essere confidenziali e sono dirette unicamente ai destinatari sopra indicati. In caso di ricezione da parte di persona diversa è vietato qualunque tipo di distribuzione o copia. Chi riceva questo messaggio per errore è pregato di inoltrarlo al mittente e di distruggere questa e-mail.

This e-mail may contain confidential information and is intended only for the use of the addressee(s) named above. If the reader of this message is not the intended recipient of this message, please note that distribution or copying of this communication is forbidden. Anyone who receives this communication in error should return it immediately to the sender and destroy the message.