Re: Problem with scaling png image file in svg

2004-02-16 Thread Chris Bowditch
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,

Re: Problem with scaling png image file in svg

2004-02-16 Thread Jeremias Maerki
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.

Re: Problem with scaling png image file in svg

2004-02-16 Thread Chris Bowditch
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:

Re: Re: Problem with scaling png image file in svg

2004-02-15 Thread Jay Chiu
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

Re: Re: Problem with scaling png image file in svg

2004-02-13 Thread Jay Chiu
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

Re: Re: Problem with scaling png image file in svg

2004-02-12 Thread Jay Chiu
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

Re: Problem with scaling png image file in svg

2004-02-12 Thread Chris Bowditch
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

Re: Re: Problem with scaling png image file in svg

2004-02-10 Thread Jay Chiu
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

Re: Problem with scaling png image file in svg

2004-02-07 Thread Jay Chiu
== 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

Re: Problem with scaling png image file in svg section

2004-02-06 Thread Jay Chiu
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

Problem with scaling png image file in svg section

2004-02-05 Thread Jay Chiu
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

Re: Problem with scaling png image file in svg section

2004-02-05 Thread Chris Bowditch
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