I want to draw a string onto a transparent BufferedImage. Than I save it to a
Gif-file using acme's GifEncoder.
But it seems that I loose some pixels or some tansformation takes place.
 (Without the use of transparency it works fine.)

     BufferedImage bufImg = new BufferedImage(80, 50,
BufferedImage.TYPE_4BYTE_ABGR);
     Graphics2D graphics = bufImg.createGraphics();
     graphics.drawString("Hello World", 0, 30);

     File f = new File(filename); OutputStream out = new FileOutputStream(f);
     GifEncoder gifEncoder = new GifEncoder(bufImg, out);
     gifEncoder.encode();
     out.close();

Thanks for your advice, Christian



______________________________________________________________________
Der Austausch von Nachrichten mit Software Daten Service via E-Mail dient
ausschliesslich Informationszwecken. Rechtsgeschaeftliche Erklaerungen duerfen
ueber dieses Medium nicht ausgetauscht werden.

Correspondence with Software Daten Service via e-mail is only for information
purposes. This medium is not to be used for the exchange of legally-binding
communications.

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