Export to GitHub

svgweb - issue #608

large (4096x4096) image breaks rendering


Posted on Mar 10, 2011 by Happy Elephant

What steps will reproduce the problem? 1. add SVGLoad event handler 2. load SVG with svg:image and external image of size 4096x4096 3. the image is not processed

The image never renders, SVGLoad is not fired. A smaller image (600x600) works fine.

What version of the product are you using?

svgweb-2011-02-03-Lurker-Above

On what operating system, browser, and version of Flash?

tested with Windows XP, Flash 10.2.152.26, Firefox 3.6.15 + IE 6 Windows 7, Flash 10.2.152.26, Firefox 3.6.15 + IE 9

Please provide any additional information below. Reduced test cases are always appreciated!

Example at http://gotti.dnsalias.org/wurm/mapview/svgweb.htm

<?xml version="1.0"?> <svg xmlns="http://www.w3.org/2000/svg&quot; xmlns:xlink="http://www.w3.org/1999/xlink&quot; width="4096" height="4096"> <g> <image id="bar" preserveAspectRatio="xMidYMid" height="1024" width="1024" xlink:href="deedplacement.png"/> </g> </svg>

image at http://gotti.dnsalias.org/wurm/mapview/deedplacement.png is of size 4096x4096

Comment #1

Posted on Mar 10, 2011 by Grumpy Dog

Thanks for the report. This is likely Issue 323, and our current stance is that we are not going to try to workaround the flash limit. According to the flash reference (see link in Issue 323), your image exceeds the limit by only one pixel. :)

Comment #2

Posted on Mar 10, 2011 by Happy Elephant

thanks for the quick response. Is there any chance the image or the error can be ignored on rendering?

The huge images in my project are overlays on a map and it would be fine if they don't show up in the flash version.

Status: New

Labels:
Type-Defect Priority-Low