Return-Path: Delivered-To: apmail-xml-batik-users-archive@xml.apache.org Received: (qmail 1272 invoked by uid 500); 4 Oct 2002 15:25:14 -0000 Mailing-List: contact batik-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: "Batik Users" Delivered-To: mailing list batik-users@xml.apache.org Received: (qmail 42793 invoked from network); 3 Oct 2002 22:45:45 -0000 X-WM-Posted-At: collinsplanner; Fri, 4 Oct 02 08:47:39 +1000 Message-ID: <00a001c26b2e$8dc23d60$831e150a@davidg> From: "David Garrett" To: Subject: JPEGTranscoder embeded PNG Problem Date: Fri, 4 Oct 2002 08:45:20 +1000 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_009D_01C26B82.5F4086A0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------=_NextPart_000_009D_01C26B82.5F4086A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I am using Java 1.4, with batik 1.5beta4b All is working OK except ... I can't JPEGTranscode if the original SVG contains a "background" = with a base64 encoded PNG file. The original SVG is displayed perfectly in the Adobe Viewer. I have tested against the simple SaveAsJPEG which is the first example = in the doco. The SaveAsJPEG only works when I have do *not* have the = "background" PNG graphic. The resulting failure is a 5K jpg file which is all black when viewed I have a 64K source file which I did not include in this mail (If someone can help I will gladly forward it) ... David ------=_NextPart_000_009D_01C26B82.5F4086A0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I am using Java 1.4, with batik=20 1.5beta4b
 
All is working OK except = ...
 
I can't JPEGTranscode if the original = SVG contains=20 a "background" <g> with a base64 encoded PNG file.
 
The original SVG is displayed perfectly = in the=20 Adobe Viewer.
 
I have tested against the simple = SaveAsJPEG which=20 is the first example in the doco. The SaveAsJPEG  only works when I = have do=20 *not* have the "background" PNG graphic.
 
The resulting failure is a 5K jpg file = which is all=20 black when viewed
 
I have a 64K source file which I did = not include in=20 this mail
 
(If someone can help I will gladly = forward=20 it)
 
...
David
------=_NextPart_000_009D_01C26B82.5F4086A0--