|
From: | Per Bothner |
Subject: | [Bug-kawa] [bug #49367] (kawa pictures) image-write gives exception on pictures |
Date: | Sun, 23 Oct 2016 14:43:54 +0000 (UTC) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36 |
Update of bug #49367 (project kawa): Status: None => Fixed Assigned to: None => bothner _______________________________________________________ Follow-up Comment #1: Strange. It works for me with Java SE 1.8.0_74-b02 on Fedora. Possibly a (fixed) bug in ImageIO. Regardless, writing something that isn't a BufferedImage is less efficient (based on glancing at the OpenJDK source). Since a DrawImage wraps a BufferedImage, might as well pass that instead to ImageIO.write. I checked in a change to do that. Please let me now if that solves the problem. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?49367> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |