Letractively / svgweb

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

Flash has a size limit for loading images #323

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
I have modified blocks_game.html which comes with svgweb,
to render an image using a clippath. 
Setting svg.render.forceflash = false, then the image is clipped
correctly. However, when svg.render.forceflash = true, then
the clipped image is rendered as a black rectangle.

What is the expected output? What do you see instead?
Flash- and non-Flash svgweb renders the clipped image differently.
I would expect that the result is a correctly clipped image,
not a black square where the clipped image was supposed to be.

What version of the product are you using? On what operating system,
browser, and version of Flash?
Firefox 3.5 on OpenSuSe Linux. Flash 9, I think.

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

Any advice on how to clip a image using svgweb would also solve my problem.

Thanks in advance!

Original issue reported on code.google.com by andre...@pvv.ntnu.no on 23 Sep 2009 at 6:43

Attachments:

GoogleCodeExporter commented 8 years ago
The problem is with the size of the image. Flash appears to have a size limit 
for images:

http://livedocs.adobe.com/flex/3/langref/flash/display/Loader.html#load()

You could probably make your example work by cutting the image height in half 
and
doubling the image width.

Original comment by grick23@gmail.com on 27 Sep 2009 at 11:46

GoogleCodeExporter commented 8 years ago
Thanks, reducing the image size actually solved my problems.
Now it seems that svgweb again is the best solution for rendering
the graphics in the freeciv web client.

Original comment by andre...@pvv.ntnu.no on 29 Sep 2009 at 5:27

GoogleCodeExporter commented 8 years ago
Marking this as WONTFIX for now; having multimegabyte images is not a great 
solution
for the content-authoring side and I don't forsee us being able to find a 
solution to
this.

Original comment by bradneub...@gmail.com on 20 Oct 2009 at 12:48

GoogleCodeExporter commented 8 years ago
Issue 482 has been merged into this issue.

Original comment by grick23@gmail.com on 23 Apr 2010 at 1:40