Jay Chiu wrote:
Chris,
I have successfylly solved the problem. I think it is a fop
bug.
It does look that way.
I have just changed 2 lines of PDFGraphics2D.java:
line 289: and line 296
FROM:
Dimension size = new Dimension(imageInfo.width * ratio,
imageInfo.height * 3);
and
g.fillRect(0, 0,
It's Batik's job to load images within SVG files. Batik has its own PNG
codec built in. FOP currently can't use it. Batik and FOP use different
ways to load images.
On 16.02.2004 11:15:24 Chris Bowditch wrote:
Another thing I found out is that JIMI support is not required
for png file in svg.
Jeremias Maerki wrote:
It's Batik's job to load images within SVG files. Batik has its own PNG
codec built in. FOP currently can't use it. Batik and FOP use different
ways to load images.
Thanks Jeremias
-
To unsubscribe, e-mail:
the PDFGraphics2D
to
create the same data as JimiImage.
Any help is greatly appreciated.
Jay
List: fop-user
Subject:Re: Problem with scaling png image file in svg
From: Chris Bowditch bowditch_chris () hotmail ! com
the PDFGraphics2D to
create the same data as JimiImage.
Any help is greatly appreciated.
Jay
List: fop-user
Subject:Re: Problem with scaling png image file in svg
From: Chris Bowditch bowditch_chris () hotmail ! com
Date: 2004
Chris and Thomas,
Can you please give me some help? Please tell me which files I
should change to solve the problem.
Thanks a lot.
Jay
List: fop-user
Subject:Re: Re: Problem with scaling png image file in svg
From: Jay Chiu jaychiu
Jay Chiu wrote:
Chris and Thomas,
Can you please give me some help? Please tell me which files I
should change to solve the problem.
I have run your sample, and the PNG files referenced by
fo:external-graphic are indeed much better quaility than those embedded
in SVG using svg:image. I then
this issue, becuase the
subsampling works fine in Fop.
Thanks a lot.
Jay
==
Subject: Re: Problem with scaling png image file in svg
From: Thomas DeWeese [EMAIL PROTECTED]
Date: Fri, 06 Feb 2004 06:25:45 -0500
To: batik-dev
==
Subject: Re: Problem with scaling png image file in svg
From: Thomas DeWeese [EMAIL PROTECTED]
Date: Fri, 06 Feb 2004 06:25:45 -0500
To: batik-dev@xml.apache.org
Jay Chiu wrote:
I tried
also sending the email to batik-user mail list. Hope Batik
team can also help.
Attache please find a svg file , a source png file and generated
png file.
Thanks a lot.
Jay
List: fop-user
Subject:Re: Problem with scaling png image file
I generate fo file with svg section to hold absolute positioned
text and images. If the image size matches the width and height
attributes of the svg:image element, the image in final
generated pdf looks fine. But if the image size is bigger than
the width/height attributes of the svg:image
Jay Chiu wrote:
I generate fo file with svg section to hold absolute positioned
text and images. If the image size matches the width and height
attributes of the svg:image element, the image in final
generated pdf looks fine. But if the image size is bigger than
the width/height attributes of the
12 matches
Mail list logo