I think it might be a 'rogue' JPG.
For one thing, it's oddly large: 600KB for a 600 x 200 px image.
I Saved As JPG from GIMP, which reduced it to 21KB, and it worked fine. 
Also worked as a PNG, which is probably the more appropriate format.

Thanks for your time, as always.

PS. What is the timeframe for XXE 5.0?


-----Original Message-----
From: Hussein Shafie [mailto:[email protected]] 
Sent: 19 April 2011 09:51
To: Roy MacLean
Cc: [email protected]
Subject: Re: [XFC] Log image in FO title-page lost in conversion to Word 2007

On 04/18/2011 06:23 PM, Roy MacLean wrote:
> 
> In the title-page FO, the image is referenced as 
> 'file:///C:/documentation/tools/Graphics/logo.jpg'
> This works fine with the PDF conversion.

OK, so you are converting a DITA document using XMLmind XSL Utility or XMLmind 
XML Editor or XMLmind DITA Converter (ditac).



> 
> The images\1.png is *within* the docx file (i.e. the zipped archive 
> structure).
> I think all this indicates is that the logo image didn't make it in the docx 
> at all.
> 
> It's not a show-stopper, because the logo image can always be inserted 
> manually into the Word doc.
> I just wondered if I was missing something basic.
> 

--> I didn't manage to reproduce the problem with attached title-page FO.

* It works fine with a .jpg or .png.

* It works fine with:

<fo:external-graphic
  src="url(file:/home/hussein/icons/users/hussein.jpg)"/>

and with:

<fo:external-graphic
  src="file:/home/hussein/icons/users/hussein.jpg"/>



--> Therefore it's probably something bizarre:

* This specific image "logo.jpg" can be loaded by FOP but cannot be loaded by 
XFC? You should get error messages in this case.

In such case, open it in a different image editing software and save it as 
plain, simple, JPEG.

* A permission problem (i.e. access to "logo.jpg" is denied)? You should get 
error messages in this case.

In such case, make sure that you don't open "logo.jpg" in an image editing 
application while you are running our conversion software.

* An URI capitalization problem? It's
'file:///C:/documentation/tools/graphics/logo.jpg' and not 
'file:///C:/documentation/tools/Graphics/logo.jpg'. Very unlikely.

* An URI syntax problem? It's
'file:/C:/documentation/tools/Graphics/logo.jpg' and not 
'file:///C:/documentation/tools/Graphics/logo.jpg'. Very, very, unlikely.

 
--
XMLmind FO Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xfc-support

Reply via email to