On 09/13/2012 11:52 AM, Camille Bégnis wrote:
>
> opening a document stored on WebDAV, I have noticed the application
> freezes whenever the editing zone is resized.
> Looking at the server log, it appears that's because XXE is getting all
> images again.
> I have checked XXE caches settings but that doesn't seem to be related.
>
> Is there a way to make XXE not reload images?

I'm sorry but the answer is no.

Many of our customers insert a lot of high-resolution images in their 
documents. XXE scales down each high-resolution image in order to render 
it on screen and then immediately discards the original, very large, image.

I'm saying this because if we had to implement an image cache, we would 
have to make it quite smart, as images are the #1 reason for 
OutOfMemoryErrors in XXE.



---
PS: You can probably implement an image cache yourself by implementing a 
caching Image Toolkit plug-in wrapping the stock Image Toolkit based on 
Java ImageIO.

If this is not possible just because there is currently no way to 
override the stock Image Toolkit based on Java ImageIO (not sure bout 
that), just tell us and we'll quickly make the necessary changes.

See http://www.xmlmind.com/xmleditor/_distrib/doc/dev/plugin.html

See 
http://www.xmlmind.com/xmleditor/_distrib/doc/api/com/xmlmind/xmledit/imagetoolkit/ImageToolkit.html

See 
http://www.xmlmind.com/xmleditor/_distrib/doc/api/com/xmlmind/xmledit/imagetoolkit/JavaImageToolkit.html

 
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to