public inbox for java-prs@sourceware.org help / color / mirror / Atom feed
* [Bug AWT/19847] New: AWT drawImage fails to render transparent GIFs @ 2005-02-09 13:05 hendrich at informatik dot uni-hamburg dot de 2005-02-09 13:05 ` [Bug AWT/19847] " hendrich at informatik dot uni-hamburg dot de ` (4 more replies) 0 siblings, 5 replies; 6+ messages in thread From: hendrich at informatik dot uni-hamburg dot de @ 2005-02-09 13:05 UTC (permalink / raw) To: java-prs Try running the testcase for bug 19840 (DrawImageBug) with the small 2-color transparent GIF image attached to this report. (Rename updatemodebutton.gif to jfig.gif for the program to find the image or edit the testcase). The image is not drawn at all; this seems only to occur for transparent black-and-white (2 colors) GIFs. Might be a bug in drawImage() or getImage(). -- Summary: AWT drawImage fails to render transparent GIFs Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: AWT AssignedTo: fitzsim at redhat dot com ReportedBy: hendrich at informatik dot uni-hamburg dot de CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19847 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug AWT/19847] AWT drawImage fails to render transparent GIFs 2005-02-09 13:05 [Bug AWT/19847] New: AWT drawImage fails to render transparent GIFs hendrich at informatik dot uni-hamburg dot de @ 2005-02-09 13:05 ` hendrich at informatik dot uni-hamburg dot de 2005-02-12 22:35 ` pinskia at gcc dot gnu dot org ` (3 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: hendrich at informatik dot uni-hamburg dot de @ 2005-02-09 13:05 UTC (permalink / raw) To: java-prs ------- Additional Comments From hendrich at informatik dot uni-hamburg dot de 2005-02-09 10:20 ------- Created an attachment (id=8155) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8155&action=view) demo image for testcase rename to 'jfig.gif' and run 'DrawImageBug' from bug 19840. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19847 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug AWT/19847] AWT drawImage fails to render transparent GIFs 2005-02-09 13:05 [Bug AWT/19847] New: AWT drawImage fails to render transparent GIFs 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 ` (2 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-02-12 22:35 UTC (permalink / raw) To: java-prs ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-12 22:33 ------- Confirmed. -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 Last reconfirmed|0000-00-00 00:00:00 |2005-02-12 22:33:55 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19847 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug AWT/19847] AWT drawImage fails to render transparent GIFs 2005-02-09 13:05 [Bug AWT/19847] New: AWT drawImage fails to render transparent GIFs 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 2005-07-20 19:43 ` fitzsim at redhat dot com 2005-07-20 19:47 ` fitzsim at redhat dot com 4 siblings, 0 replies; 6+ messages in thread From: mark at gcc dot gnu dot org @ 2005-06-23 15:48 UTC (permalink / raw) To: java-prs ------- 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 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug AWT/19847] AWT drawImage fails to render transparent GIFs 2005-02-09 13:05 [Bug AWT/19847] New: AWT drawImage fails to render transparent GIFs hendrich at informatik dot uni-hamburg dot de ` (2 preceding siblings ...) 2005-06-23 15:48 ` mark at gcc dot gnu dot org @ 2005-07-20 19:43 ` fitzsim at redhat dot com 2005-07-20 19:47 ` fitzsim at redhat dot com 4 siblings, 0 replies; 6+ messages in thread From: fitzsim at redhat dot com @ 2005-07-20 19:43 UTC (permalink / raw) To: java-prs ------- Additional Comments From fitzsim at redhat dot com 2005-07-20 19:43 ------- Fixed by Sven de Marothy in GNU Classpath. Closing. -- What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19847 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug AWT/19847] AWT drawImage fails to render transparent GIFs 2005-02-09 13:05 [Bug AWT/19847] New: AWT drawImage fails to render transparent GIFs hendrich at informatik dot uni-hamburg dot de ` (3 preceding siblings ...) 2005-07-20 19:43 ` fitzsim at redhat dot com @ 2005-07-20 19:47 ` fitzsim at redhat dot com 4 siblings, 0 replies; 6+ messages in thread From: fitzsim at redhat dot com @ 2005-07-20 19:47 UTC (permalink / raw) To: java-prs -- What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |4.1.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19847 ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-07-20 19:47 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2005-02-09 13:05 [Bug AWT/19847] New: AWT drawImage fails to render transparent GIFs 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 2005-07-20 19:43 ` fitzsim at redhat dot com 2005-07-20 19:47 ` fitzsim at redhat dot com
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).