Thank you Hussein. I will give this a try. What is the recommended image type to use with XFC-FO Converter for the best, most consistent results?
Cheers, Chris On Thu, Mar 4, 2010 at 4:03 AM, Hussein Shafie <hussein at xmlmind.com> wrote: > Christopher J Demattio wrote: > > > > I am trying to use images saved in PNG format with DITAC. The images > > are created and saved in Visio, which allows me to control various > > parameters (such as dpi, image size, etc) on saving. When I save an > > image at native size at 300 dpi resolution, it shows up in the rendered > > output Word document at a very large size. > > > > Can you please tell me what parameters in the PNG are used by DITAC to > > determine how large to render the output? Any other tips you can > > provide regarding working with images would be appreciated. > > > > > P.S. I am using DITAC 1.1, in command line mode, together with XMLMind > XSL XFC 4.3.1. > > Your question is in fact about XMLmind XSL-FO Converter. > > XMLmind XSL-FO Converter currently completely ignores the *absolute* > image size (e.g. 3inx4in) information specified by software such as > Visio. (But we may change this in a future version of XMLmind XSL-FO > Converter in order to be more compatible with XEP and FOP.) > > Rationale: Most raster images are created by screen capture software and > in such case, this absolute image size is almost always incorrect. > > XMLmind XSL-FO Converter uses just the *pixel* size of the raster image > (e.g. 1024x748). In you case (300dpi), this indeed creates very large > images. > > We recommend to explicitly specify the desired size for the image using > the with attribute of the image element (no need to specify the height > attribute). Example: width="10.5cm". See > http://docs.oasis-open.org/dita/v1.1/OS/langspec/langref/image.html > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.xmlmind.com/pipermail/ditac-support/attachments/20100304/30eb8375/attachment.htm

