XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Brian AndersonSubject: Blurry Background image / Vector Graphics in XSL-FO/XSLT
Author: Brian Anderson
Date: 02 Apr 2010 12:53 AM

Team - I'm posting the below on behalf of Kurt Leichum. Brian



I urgently need to know:

a) What can be the cause that a background image looks blurry even so no height and width are specified. In accordance with your documentation that means that Stylus Studio accepts the graphics original size.

Please see my sample as well as the original image file for your reference.

I will be working on the formatting as soon as I know how to solve the image problem.
b) Is it possible to include vector graphics in XSL-FO/XSLT?

Thanks in advance for your help.

Best Regards

Kurt

Postnext
(Deleted User) Subject: Blurry Background image / Vector Graphics in XSL-FO/XSLT
Author: (Deleted User)
Date: 23 Apr 2010 03:17 AM
Hi Kurt,
a) could you be more precise regarding where the image is blurry? Is it the XML Report preview or the final generated PDF?
b) SVG is supported as part of XSL:FO by both Apache FOP and RenderX. Clearly the support could have restrictions depending on which statements you are planning to use...

Alberto

Postnext
Kurt LeichumSubject: Blurry Background image / Vector Graphics in XSL-FO/XSLT
Author: Kurt Leichum
Date: 05 May 2010 05:41 AM
Originally Posted: 05 May 2010 01:15 AM
Hi Alberto,
unfortunately I was in hospital so I could not get back to you earlier.

These are my steps:

1. Insert an image without specifying height and width. See attached ILGCZ-Header.JPG.
2. Choose Report / Preview. See attached screen shot.
3. Generate report.
4. Choose XSLT / Preview Result. See attached screen shot and PDF.

Thanks in advance for your help.

Kurt


UnknownImageProblem.zip

Posttop
(Deleted User) Subject: Blurry Background image / Vector Graphics in XSL-FO/XSLT
Author: (Deleted User)
Date: 11 May 2010 11:12 AM
Hi Kurt,
the problem is that your image is stored using 72dpi, while most viewers assume 96dpi and end up scaling your image to look blurry.
Either save it again using 96 dpi (e.g. open it in MS Paint and save it with another name, without doing anything to the image), or enter a value in the height property of the XML Report document (e.g. 25mm)

Alberto

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.