pacojerte / svgweb

Automatically exported from code.google.com/p/svgweb
Other
0 stars 0 forks source link

large (4096x4096) image breaks rendering #608

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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" 
xmlns:xlink="http://www.w3.org/1999/xlink" 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

Original issue reported on code.google.com by alexande...@gmail.com on 10 Mar 2011 at 4:48

GoogleCodeExporter commented 8 years ago
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.  :)

Original comment by grick23@gmail.com on 10 Mar 2011 at 5:07

GoogleCodeExporter commented 8 years ago
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.

Original comment by alexande...@gmail.com on 10 Mar 2011 at 5:46