public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
From: "mark at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: java-prs@gcc.gnu.org
Subject: [Bug AWT/19847] AWT drawImage fails to render transparent GIFs
Date: Thu, 23 Jun 2005 15:48:00 -0000	[thread overview]
Message-ID: <20050623154815.21782.qmail@sourceware.org> (raw)
In-Reply-To: <20050209101926.19847.hendrich@informatik.uni-hamburg.de>


------- Additional Comments From mark at gcc dot gnu dot org  2005-06-23 15:48 -------
There are two parts to this bug.
1) Small images weren't loaded correctly.
2) An image that is scaled/clipped and doesn't use (0,0) as origin isn't scaled
correctly.

1) is fixed in GNU Classpath by:

2005-06-22  Mark Wielaard  <mark@klomp.org>

        * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
        (pumpBytes): Throws IOException.
        (pumpDone): New native method.
        (produce): Call pumpDone().
        * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h: Regenerated.
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
        (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpDone): New method.
        (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpBytes): Check for
        errors on gdk_pixbuf_loader_write.

2) Isn't fixed yet. It occurs in gnu.java.awt.peer.gtk.GtkImage.drawImage()
where it says:
    // Clipping. This requires the dst to be scaled as well,


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19847


  parent reply	other threads:[~2005-06-23 15:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-09 13:05 [Bug AWT/19847] New: " hendrich at informatik dot uni-hamburg dot de
2005-02-09 13:05 ` [Bug AWT/19847] " hendrich at informatik dot uni-hamburg dot de
2005-02-12 22:35 ` pinskia at gcc dot gnu dot org
2005-06-23 15:48 ` mark at gcc dot gnu dot org [this message]
2005-07-20 19:43 ` fitzsim at redhat dot com
2005-07-20 19:47 ` fitzsim at redhat dot com
     [not found] <bug-19847-9150@http.gcc.gnu.org/bugzilla/>
2005-10-16  1:57 ` [Bug awt/19847] " pinskia at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050623154815.21782.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=java-prs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).