Hello Mark,
Yes, I have reproduced the problem on 4.2, and you are right that image
dimensions are cached and that is the reason of the trouble.
But the workaround is fairly simple and straightforward: just call
xep.cleanup() after each xep.render() call or when you know that an
image has been altered.
-- Best regards, Michael Sulyaev mailto:msulyaev@renderx.com RenderX. Mark Gabriel wrote: > Hi > > > > I have XEP 4.2 running in a java web app and I am having some problems > with images. > > > > When I publish a PDF it is fine, but if an image is then altered in size > (the actual image file as well as the FO) the old dimensions of the > image seem to be cached somewhere. Thus if the image is made smaller the > PDF will come up with an error message when opened in Acrobat Reader 7 > “Not enough data for an image”. If the image is made larger the pixels > seem to wrap around the rows making the image very distorted. > > > > Anyone got ant ideas/experienced anything like this before? > > > > Mark Gabriel > > > ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo@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/terms-of-service.htmlReceived on Wed Aug 24 08:46:28 2005
This archive was generated by hypermail 2.1.8 : Wed Aug 24 2005 - 08:46:29 PDT