Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 51736 invoked from network); 3 Sep 2007 09:23:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Sep 2007 09:23:40 -0000 Received: (qmail 43173 invoked by uid 500); 3 Sep 2007 09:23:35 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 43151 invoked by uid 500); 3 Sep 2007 09:23:35 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 43140 invoked by uid 99); 3 Sep 2007 09:23:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Sep 2007 02:23:35 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Sep 2007 09:23:39 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id BBD9571420A for ; Mon, 3 Sep 2007 02:23:19 -0700 (PDT) Message-ID: <12384772.1188811399765.JavaMail.jira@brutus> Date: Mon, 3 Sep 2007 02:23:19 -0700 (PDT) From: "Igor V. Stolyarov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Commented: (HARMONY-4700) [classlib][awt] unable to draw a GIF image through Windows Remote Desktop In-Reply-To: <9444101.1188548312389.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-4700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12524479 ] Igor V. Stolyarov commented on HARMONY-4700: -------------------------------------------- This issue reproduced not only Remote Desktop, but and locally too, if set 16 bit Desktop Resolution. Cause of issue is in AlphaBlend function, which can't blitting not 32 depth src Bitmap. > [classlib][awt] unable to draw a GIF image through Windows Remote Desktop > ------------------------------------------------------------------------- > > Key: HARMONY-4700 > URL: https://issues.apache.org/jira/browse/HARMONY-4700 > Project: Harmony > Issue Type: Bug > Components: Classlib > Environment: Win 2003 + remote desktop > Reporter: Andrey Pavlenko > Attachments: test.jar > > > The following test demonstrates that drawing of GIF images through remote desktop does not work. JPEG and PNG images works fine. > import java.awt.Frame; > import java.awt.Graphics; > import java.awt.Image; > import java.awt.MediaTracker; > import java.awt.Toolkit; > public class Test { > public static void main(String[] args) throws Exception { > final Image gif = Toolkit.getDefaultToolkit().createImage("test.gif"); > final Image jpg = Toolkit.getDefaultToolkit().createImage("test.jpg"); > final Image png = Toolkit.getDefaultToolkit().createImage("test.png"); > final Frame f = new Frame() { > @Override > public void paint(final Graphics g) { > g.drawImage(gif, 40, 30, this); > g.drawImage(jpg, 40, 90, this); > g.drawImage(png, 40, 150, this); > } > }; > final MediaTracker tracker = new MediaTracker(f); > tracker.addImage(gif, 1); > tracker.addImage(jpg, 2); > tracker.addImage(png, 3); > tracker.waitForAll(); > f.setSize(200, 220); > f.setVisible(true); > } > } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.