the images have different pixel size, or dpi. 72 dpi for the PNG and
96 dpi for the JPEG. you can check (and fix) that with Gimp or other
image editor.

On Fri, Feb 1, 2013 at 4:14 AM, Neeraj <neerajii...@gmail.com> wrote:
>
>
> ---------- Forwarded message ----------
> From: Neeraj <neerajii...@gmail.com>
> Date: Thu, Jan 31, 2013 at 3:13 PM
> Subject: PNG files takes more size as compare to JPG in FOP 1.1 PDF
> To: fop-users-h...@xmlgraphics.apache.org
>
>
> Hi,
>
> I am using FOP 1.1 RC1 and drawing images in PDF. Source files are
> "myimage.PNG" and "myimage.JPG". After generating PDF's, PNG image displays
> in PDF with more bigger than actual size, while JPG image displays with
> actual size.
>
> Please look into the issue and suggest me a solution to deal with this
> condition. I can not fix table or block size.
>
> FO file Code:
>
> <fo:block>
>   <fo:external-graphic  src="http://localhost/MyWebSite/Temp/myimage.PNG"/>
> </fo:block>
>
> I am using default config file.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

Reply via email to