docbook-apps

  • 1.  Image Scaling

    Posted 04-26-2007 17:40
    Hello I am trying to scale an image to "50%" of a "5.25in" page margin.
    Below is the code.



    <graphic fileref="images/04_VideoLogix.png" scale="50"
    contentwidth="5.25in"/>


    The problem is that the image is not scalling at all it's only rendering
    to the full 5.25in defined in contentwidth. Am I doing something wrong?
    I even use <imagedata/> instead of <graphic/> and that still didn't
    work. What am I doing wrong.

    Please help.

    Thanks.

    XML Environment
    ==================================
    - Docbook XML 4.4
    - Docbook XSL 1.72.0
    - RenderX XEP 4.9