docbook-apps

  • 1.  [docbook-apps] Graphic Scalin in PDF

    Posted 03-14-2008 07:49

    Hi @ all

    There's another problem appeared:

    In PDF the images are to big. How can i scale these images to a viewable
    size?

    http://www.nabble.com/file/p16045877/supersach.jpg

    thanks for your answers.
    --
    View this message in context: http://www.nabble.com/Graphic-Scalin-in-PDF-tp16045877p16045877.html
    Sent from the docbook apps mailing list archive at Nabble.com.




  • 2.  Re: [docbook-apps] Graphic Scalin in PDF

    Posted 03-15-2008 07:16
    There are several scaling attributes you can use, as documented here:

    http://www.sagehill.net/docbookxsl/ImageSizing.html

    Bob Stayton
    Sagehill Enterprises
    bobs@sagehill.net


    ----- Original Message -----
    From: "fingerli" <MICHAEl.finger@gmx.ch>
    To: <docbook-apps@lists.oasis-open.org>
    Sent: Friday, March 14, 2008 12:49 AM
    Subject: [docbook-apps] Graphic Scalin in PDF


    >
    > Hi @ all
    >
    > There's another problem appeared:
    >
    > In PDF the images are to big. How can i scale these images to a viewable
    > size?
    >
    > http://www.nabble.com/file/p16045877/supersach.jpg
    >
    > thanks for your answers.
    > --
    > View this message in context:
    > http://www.nabble.com/Graphic-Scalin-in-PDF-tp16045877p16045877.html
    > Sent from the docbook apps mailing list archive at Nabble.com.
    >
    >
    > ---------------------------------------------------------------------
    > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
    > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
    >
    >
    >




  • 3.  Re: [docbook-apps] Graphic Scalin in PDF

    Posted 04-01-2008 11:58

    Hi

    I also have a problem with images in pdf.
    It completely ignores my imagedata commends. All the pictures are totally
    unscaled, bigger than 100% and distorted.
    I've tried various image formats (png, gif, jpg) and units (cm, px, pc, %).
    Nothing works.
    Without giving units the images are also unscaled.

    What can I do?

    Thanks in advance!
    --
    View this message in context: http://www.nabble.com/Graphic-Scalin-in-PDF-tp16045877p16418184.html
    Sent from the docbook apps mailing list archive at Nabble.com.




  • 4.  RE: [docbook-apps] Graphic Scalin in PDF

    Posted 04-01-2008 12:26
    Hi,

    The following attributes work for me, for imagedata:
    width="100%" scalefit="1"

    (and nothing else, no units, no nothing).


    As per http://www.sagehill.net/docbookxsl/ImageSizing.html

    " scalefit
    If set to a value of 1, then the processor will scale the
    graphic proportionally to fit the allowed area. The image
    is scaled to fit the specified width or depth viewport
    dimension, whichever fills up first.

    [...]

    To keep a graphic for printed output at its natural size
    unless it is too large to fit the available width, in which
    case shrink it to fit, use scalefit="1", width="100%" and
    contentdepth="100%" attributes."


    Regards,
    EB


    > -----Original Message-----
    > From: cookiemonster [mailto:ina_frenzel@web.de]
    > Sent: Tuesday, April 01, 2008 1:58 PM
    > Subject: Re: [docbook-apps] Graphic Scalin in PDF
    >
    > Hi
    >
    > I also have a problem with images in pdf.
    > It completely ignores my imagedata commends. All the pictures are totally
    > unscaled, bigger than 100% and distorted.
    > I've tried various image formats (png, gif, jpg) and units (cm,
    > px, pc, %).
    > Nothing works.
    > Without giving units the images are also unscaled.
    >
    > What can I do?
    >
    > Thanks in advance!
    >