Re[2]: [xep-support] Severe slow down with embedded images

From: Alexander Peshkov (peshkov@renderx.com)
Date: Wed Dec 03 2003 - 00:31:45 PST

  • Next message: Nikolai Grigoriev: "Re: [xep-support] Problem embedding Adobe OpenType Fonts, need help please."

    Hello Benoit,

    Where is your copy of XEP installed? Is it under 'subst'ed directory
    also? Could you try to run your test with temporary directory pointing
    to some directory on disk C (i.e. C:\TEMP)? You can set it by
    specifying appropriate XEP option on Java command line:
      -Dcom.renderx.xep.TMPDIR=C:\TEMP

    I think testing on Linux box could also be helpful.

    Best regards,
    Alexander Peshkov mailto:peshkov@renderx.com
    RenderX

    MB> Hi Alexander,

    MB> I don't do anything special regarding temp directory. Should I? I use the default xep.xml.

    MB> All URIs are local; fo, at, pdf and images are local. Images are given by a relative path. Example:

    MB> <fo:external-graphic scaling="uniform" height="295mm" content-height="152.4mm" content-width="101.6mm" src="url(../graphics/ENR-6-BirdMigration.svg)"/>

    MB> Which gives in AT:

    MB> <xep:image system-id="file:/H:/eAIP/_dev/eAIP/eAIP-pack/graphics/ENR-6-BirdMigration.svg" id="image6" type="image/svg+xml" x-from="0" y-from="4491" scale-x="0.5966168839595076"
    MB> scale-y="0.5966168839595076" width="288000" height="356167">
    MB> [127kB of encoded binary]</xep:image>

    MB> My H: drive is a "subst" to a local C: directory.

    MB> Some images are rescaled, and I didn't check if this issue is related to rescaling. Does rescaling happen in FO->AT or in AT->PDF? or in the PDF browser?

    MB> I am running XEP on Win NT. A colleague of mine has the same problem on Win2k. I could test on a Linux box is that can help.

    MB> Cheers,
    MB> Benoit

    >> -----Original Message-----
    >> From: owner-xep-support@renderx.com
    >> [mailto:owner-xep-support@renderx.com]On Behalf Of Alexander Peshkov
    >> Sent: Tuesday, December 02, 2003 3:13 PM
    >> To: MAISONNY Benoit
    >> Subject: Re: [xep-support] Severe slow down with embedded images
    >>
    >>
    >> Hello Benoit,
    >>
    >> Thanks for your feedback. I would like to have more information about
    >> your system configuration. Temporary directory is of particular
    >> interest. Does it resides on a kind of network disk?
    >>
    >> Best regards,
    >> Alexander Peshkov
    >> mailto:peshkov@renderx.com
    >> RenderX
    >>
    >>
    >> MB> Hi,
    >>
    >> MB> XEP 3.6.3 (and several versions before that) gets
    >> extremely slow converting from XEP's area tree (AT) to PDF if
    >> we activate the image embedding feature.
    >>
    >> MB> Using 2 versions of the same FO file containing about 16
    >> images, with the only difference being the processing
    >> instruction <?xep-out-embed-images true?>, I get the
    >> following timings (AT to PDF):
    >> MB> - without this PI: 12 seconds
    >> MB> - with this PI: 3 minutes 43 seconds
    >>
    >> MB> FO to AT timings are only slightly slower: about 6.5
    >> seconds with the PI against about 6.1 seconds without it.
    >>
    >> MB> This is repeatable and does not seem to be tied with the
    >> image format: it happens when embedding PNG, SVG and PDF.
    >>
    >> MB> Is there any chance that this performance hit is
    >> reduced/removed in a future XEP version?
    >>
    >> MB> Thanks,
    >> MB> Benoit
    >>
    >>
    >> MB> ____
    >>
    >> MB> This message and any files transmitted with it are
    >> legally privileged and intended for the sole use of the
    >> individual(s) or entity to whom they are addressed. If you
    >> are not the intended
    >> MB> recipient, please notify the sender by reply and delete
    >> the message and any attachments from your system. Any
    >> unauthorised use or disclosure of the content of this message
    >> is strictly prohibited
    >> MB> and may be unlawful.
    >>
    >> MB> Nothing in this e-mail message amounts to a contractual
    >> or legal commitment on the part of EUROCONTROL unless it is
    >> confirmed by appropriately signed hard copy.
    >>
    >> MB> Any views expressed in this message are those of the sender.
    >> MB> -------------------
    >> MB> (*) To unsubscribe, send a message with words
    >> 'unsubscribe xep-support'
    >> MB> in the body of the message to majordomo@renderx.com from
    >> the address
    >> MB> you are subscribed from.
    >> MB> (*) By using the Service, you expressly agree to these
    >> Terms of Service http://www.renderx.com/tos.html
    >>
    >>
    >> -------------------
    >> (*) To unsubscribe, send a message with words 'unsubscribe
    >> xep-support'
    >> in the body of the message to majordomo@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
    >>

    MB> ____

    MB> This message and any files transmitted with it are legally privileged and intended for the sole use of the individual(s) or entity to whom they are addressed. If you are not the intended
    MB> recipient, please notify the sender by reply and delete the message and any attachments from your system. Any unauthorised use or disclosure of the content of this message is strictly prohibited
    MB> and may be unlawful.

    MB> Nothing in this e-mail message amounts to a contractual or legal commitment on the part of EUROCONTROL unless it is confirmed by appropriately signed hard copy.

    MB> Any views expressed in this message are those of the sender.

    -------------------
    (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    in the body of the message to majordomo@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



    This archive was generated by hypermail 2.1.5 : Wed Dec 03 2003 - 00:40:24 PST