omeshwar / svg-android-2

Automatically exported from code.google.com/p/svg-android-2
Apache License 2.0
0 stars 0 forks source link

(Embedded) images #9

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Apply the following patches to the project: 
http://code.google.com/p/svg-android/issues/detail?id=21
2. Display an SVG document with an embedded image (protocol "data"), e.g. of 
the type "image/png;base64" followed by the encoded image data.

What is the expected output? What do you see instead?
The image is expected to be displayed properly. Instead, a black square is 
displayed (which is the fallback in case of an unsupported image by the above 
patches).

What version of the product are you using? On what operating system?
-

Please provide any additional information below.
The current version of svg-android-2 does not support images at all. By adding 
the patches I meant to fix that, so it's not actually an issue with the 
project...

Original issue reported on code.google.com by reimar.t...@googlemail.com on 8 Feb 2012 at 2:42

GoogleCodeExporter commented 8 years ago
I've added support of embedded base64 encoded images. Other encodings are not 
supported. In case of an unsupported encoding, a black box is displayed instead 
of the image.

Unfortunately, I cannot provide the SVG documents I used for testing, because I 
don't own them.

Original comment by reimar.t...@googlemail.com on 8 Feb 2012 at 3:03

Attachments:

GoogleCodeExporter commented 8 years ago
The SVGParser.java you attached doesn't appear to have the image processing 
code.  If you send it to me (the <image> handling code), I'll add it in to the 
main branch

Original comment by suh...@google.com on 30 Sep 2013 at 3:51

GoogleCodeExporter commented 8 years ago

Original comment by suh...@google.com on 7 Nov 2013 at 3:51