Re: Issue with image
Hussein Shafie <[email protected]> Wed, 03 Dec 2014 16:23:49 +0100
| Newsgroups | gmane.text.xml.xfc.general |
|---|---|
| Message-ID | <[email protected]> |
On 12/03/2014 02:11 PM, [email protected] wrote: > > We have a licensed xmlmind version and we are using XMLMIND 5.1 version. > > We are facing an issue with particular customer’s image, and it is > throwing below exception when we try to render through our program. And > it is rendering fine with APACHE_RTF. Can you please let us know what > could be the issue with XMLMIND for rendering the attached image. > > warning: failed to load image "file:/D:/image4.jpg": Inconsistent > metadata read from stream (file:/D:/basic1.xml, line #46, column #82) > The error message seems to be correct. For an unknown reason --may be a limitation in Java standard imaging classes-- XMLmind XSL-FO Converter fails to read the metadata (e.g. the resolution) contained in image4.jpg. Saving image4.jpg using The Gimp fixed the ``metadata problem''. Unfortunately this ``metadata problem'' causes XMLmind XSL-FO Converter to fail loading the image. A nicer behavior would be to nevertheless load the image and use a default image resolution. We'll try to improve XMLmind XSL-FO Converter behavior in the next release. For now, I'm afraid that there is no workaround for this problem. -- XMLmind FO Converter Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xfc-support