[xep-support] Avoiding multiple image copies in PS

Chris Broecker Broecker.C at edincc.co.uk
Tue Mar 11 09:24:30 PST 2003


Dear Support Team,

I am rendering a document that contains two graphics in fo:static-content
elements. Here is an example for the 'end' region, another graphic is in the
'after' region.

<fo:page-sequence master-reference="master">
<fo:static-content flow-name="master-end">
<fo:block-container end-indent="10.0mm" space-before="0pt" font-size="10pt"
absolute-position="fixed" top="13.5mm" bottom="0mm" left="154mm">
<fo:block padding-after="4mm">
<fo:external-graphic src="url(file:///C:/path/logo.jpg)"
content-height="12mm" content-width="70mm" />
</fo:block>

When I render to PostScript, every page in the output contains the
compressed image data, which come to 100K for both images combined. As the
document has 29 pages, the resulting PostScript is about 3 MB, of which 2.9
MB are simply the logos.

Since only two distinct images are present, it should somehow be possible to
create a PS file that is just about 200K in size (100K for the images and
100K for the actual textual content) - this is quite significant for my
application as I have many of these documents and they need to be
transmitted over a network.

Do you know of any way to remove the multiple occurence of the same image
file in the PS generated by XEP?

I am using XEP version 2.7.

Any help with this is greatly appreciated.

Regards,
Chris 



This email and any files transmitted with it are confidential and intended
solely for the use of the individuals or entities to whom they are
addressed. If you have received this email in error please return it to the
sender by forwarding it to them and deleting it from your computer. Please
note that any views or opinions presented in this email are solely those of
the author and do not necessarily represent those of Edinburgh Computer
Consultants Ltd. Finally, the recipient should check this email and any
attachments for the presence of viruses. Edinburgh Computer Consultants Ltd
accepts no liability for any loss or damage caused by any virus transmitted
by this email. 


-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



More information about the Xep-support mailing list