[xep-support] problem using image scaling

David Tolpin dvd at renderx.com
Fri Dec 27 03:27:34 PST 2002


> 
> David,
> 
> thanks for your prompt answer.
> 
> This strategy however scales *all* images to the block size. It upscales
> smaller images too. How can I avoid this without having to decide on the
> exact block width where the image is inserted? I want smaller images to
> remain small, and larger images to scale down....
> 
> 
<fo:external-graphic src="url(img/large-image.gif)"
    content-width="scale-to-fit"
    content-height="100%"
    width="100%"
    scaling="uniform"/>

This will scale the image to the smaller scale of content-height="100%", that is, 1,
and what comes from scale-to-fit.

David

-------------------
(*) 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