Bug#397816: libitext-java: image writing probably broken
Marcus Better
marcus at better.se
Thu Nov 9 19:14:39 UTC 2006
Package: libitext-java
Version: 1.4.5-1
Severity: important
The image writing routines using javax.imageio are most likely
broken. This is for two reasons:
1. In PdfGraphics2D.java, the ByteArrayOutputStream passed as argument
to encoder.setOutput() must most likely be wrapped in a
MemoryCacheImageOutputStream:
encoder.setOutput(new MemoryCacheImageOutputStream(baos));
2. JPEG encoding is missing in libgcj, see
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29783
(I ran into the same problem in the stylebook package.)
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-1-686
Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8)
Versions of packages libitext-java depends on:
ii gij [java2-runtime] 4:4.1.1-13 The GNU Java bytecode interpreter
ii gij-4.1 [java2-runtime] 4.1.1-17 The GNU Java bytecode interpreter
ii java-gcj-compat 1.0.65-8 Java runtime environment using GIJ
ii sun-java5-jre [java2-runtime] 1.5.0-08-1 Sun Java(TM) Runtime Environment (
libitext-java recommends no packages.
-- no debconf information
More information about the pkg-java-maintainers
mailing list