xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjohn P. Villedo" <bvill...@chpii.com>
Subject Image Size Issue
Date Wed, 02 Jun 2004 02:36:37 GMT
hi all,

Good Day!!!

i have read lots about images in PDF and have successfully 
displayed an image already however i noticed on my system that it 
could not accommodate an image greater than 60kb to 70kb of size, 
what happens is i get an empty pdf file when the image size goes 
higher than mentioned.

before creating the xml file i call: 


as mentioned on one of the docs frees up memory to accommodate 
image transactions. now on the XML file here is what i use:


and on the XSL file:

<xsl:template match="figure">

<xsl:template match="photo">
  <fo:block text-align="center">
    <fo:external-graphic src="{@image}"/>

my system runs on a Pentium 3 800Mhz with 256Mb RAM having:

Operating System: Linux RedHat 7.2 
Java: j2sdk1.4
Tomcat: jakarta-tomcat-4.1.27
FOP: fop-0.20.5
Cocoon: cocoon-2.1.2

ok where does this all boil down to? ... Image Quality... when i lower 
down the image file size to 60Kb all the small figures, numbers and 
tables get blurry to the point that even when the document gets 
printed those small numbers could not be read anymore not to 
mention the actual drawings/diagrams.... the original file size with 
good quality could go up to 17x11inches in dimension @ 100 ppi 
quality = 400Kb file size.... imagine bringing that down to 60Kbto 
70Kb... i was hoping if anyone has a workaround for this case so as 
i could still maintain the sharpness in detail of the images attached 
in the PDF file... herewith i also attach the 60kb image for a better 
view of the quality disintegration thanks for the attention... all the 


View raw message