Last modified: 2011-03-13 18:06:43 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T11899, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 9899 - Disallow use of embedded raster images inside SVG files
Disallow use of embedded raster images inside SVG files
Status: CLOSED WONTFIX
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
unspecified
All All
: Lowest enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
http://commons.wikimedia.org/wiki/Ima...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-05-13 17:12 UTC by AJF
Modified: 2011-03-13 18:06 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description AJF 2007-05-13 17:12:52 UTC
As can be seen on this image:

http://commons.wikimedia.org/wiki/Image:GPRS_EDGE_network_general_view_%28pl%29.svg

MediaWiki renderer allows using inline raster images inside SVG files, which
should be forbidden

Code used for this awfull trick is:

		<image
			id="NII_img_Nuvola_apps_kpilot.png"
			x="0"
			y="0"
			width="128"
			height="128"
			transform="translate(80,105) scale(0.2)"
		
xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAACqpSURBVHjaYvz//z/DKBi5ACCAmEaDYGQDgAAaTQAjHAAE0GgCGOEAIIBGE8AIBwABNJoARjgACKDRBDDCAUAAjSaAEQ4AAmg0AYxwABBAowlghAOAAGKhpmGMjIwofA8PD4N///6F/v//Xx+I+f6PDjsSG46ggPz29+/f61++fNl0+vTpk0D+dyBGCT9qBCdAADFSM05gCQAY8bxAqgkY+dlAmpWZmRns2NH4J7JYZmJiAIXZr1+/QGH258ePH2tv3brV+PLly3tA6Z/UTAAA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N/4byGaBioEON/kLFkdmwSP4Fxb+hcr/QaJja99AcD4r4z1A5BmolAIAAtJdBCsAgDASbtuL/vytN2ksWBiFepMLcopfZLPhnAA4I6hBsKeME1wK1BkMjbtxvaAxD0GwKgeaWHxqI4VZLzIvN1lykWAeS+WCuIgDfGxkE32ik8nwCiB4JgCQj0NiMSJGInGAYkBIRA1qiYkBSj24eExZxXEU4LDL+YxFHLgX+YuEzoEXofyR1/6nVRaFG3AEEEON/em3VHQWDEgAEENNoEIxsABBAowlghAOAABpNACMcAATQaAIY4QAggEYTwAgHAAE0mgBGOAAIoNEEMMIBQIABAHT4vyZo848CAAAAAElFTkSuQmCC6AE="
		/>
Comment 1 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-05-13 19:17:48 UTC
Why is this undesired?  There can be excellent reasons for including bitmaps in 
SVGs.  It should be avoided for diagrams, but for some purposes (e.g., an 
annotated photograph) it's necessary.  I don't see why this should be 
prohibited on the software level.
Comment 2 AJF 2007-05-13 19:36:08 UTC
Cause:

# user will not be able to check in easy way if it's inline bitmap (I'm not sure
if at least 10% of Wikimedians drawing SVGs will be able to track it down)
# it will allow making ''cheated'' SVG in same manner like OGG file using mp3 codec.

If main part of image is bitmap I see no reason for using vector format for it!
Comment 3 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-05-13 19:59:11 UTC
(In reply to comment #2)
> # user will not be able to check in easy way if it's inline bitmap (I'm not 
sure
> if at least 10% of Wikimedians drawing SVGs will be able to track it down)

Then create a tool to detect that, or ask for one.  It would be quite 
reasonable for us to be aware of the presence of bitmaps in the SVG and any 
metadata or whatnot they contain, certainly.

> # it will allow making ''cheated'' SVG in same manner like OGG file using mp3 
codec.

"Cheated"?  What is this, a game?  If someone uploads a bitmap in an SVG 
wrapper, it's not vector graphics and shouldn't be treated as such, no.  It 
should have the wrapper removed for simplicity and accessibility.  That doesn't 
mean that no vector graphics should ever ever have bitmaps enabled because 
that's cheating in the great game of Conforming to Trendy Media Formats(TM).  
(MP3 wrapped in OGG is different due to patents and licensing concerns.)

> If main part of image is bitmap I see no reason for using vector format for 
it!

If it's annotated, any annotations can be stored in vector form, giving exactly 
the same benefit as vector images generally: the annotations will be easily 
modifiable, will not damage the underlying photograph, will scale, etc.  This 
cannot be done if the photograph can't be embedded; the annotations must be 
added to the underlying bitmap.  Please be sure you understand the actual 
reasons for preferring SVG to other formats before you continue your objections.
Comment 4 AJF 2007-05-13 20:50:13 UTC
As long as we call SVG VECTOR format, we should not allow bitmaps inside it ;)

Please send me SVG with 6MPIX photo encoded base64 ...
Comment 5 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-05-13 20:53:27 UTC
(In reply to comment #4)
> As long as we call SVG VECTOR format, we should not allow bitmaps inside it ;)

And that's why the W3C went out of their way to allow bitmaps to be embedded in 
them?  There are clear uses for bitmaps in SVG, and unless you can present 
compelling reasons why they should absolutely never be allowed, this bug will 
be closed WONTFIX and you will have to bring this battle to particular wikis' 
policy, where it belongs.
Comment 6 AJF 2007-05-14 06:12:22 UTC
How many SVGs have you drawn that you think you are allowed to say such nonsense?

As long, as we want to provide for community vector graphics we need them to be
really vector, not only 'SVG wrapped bitmaps'. As I stated above: proposed by
you usage of inline bitmaps is useless because of filesize - 1024x768 bitmap
inside SVG file will have 3MB. 

Allowing them and NOT allowing SVGZ means, that only very small images can be
effectively inlined, if so, they are easy to redraw, so this feature is not
really needed and will only attract people for making pseudo-vector images in SVG. 
Comment 7 Ilmari Karonen 2007-05-14 06:34:59 UTC
I've drawn enough, I think.  Check on Commons if you don't believe me.

There are indeed valid uses for embedding bitmaps in vector images, such as,
say, overlaying vector map data on raster aerial/satellite images.  Embedded
raster images can also be used to create nonlinear shading and gradients beyond
what the rather limited built-in gradient features of SVG allow.

I do agree that we ought to support SVGZ.  That said, any embedded images
themselves can (and should) be in compressed formats such as PNG or JPEG.  The
base64 encoding necessary for the embedding does bloat them by approximately a
factor of 4/3, but this still allows the embedding of quite large images if
necessary.

There's no particular need to deliberately cripple our software in this regard.
 Closing as WONTFIX.
Comment 8 Rob Church 2007-05-14 06:38:10 UTC
The point being made above is that there are good reasons to allow embedding
bitmap images within vector images. No-one has stated that we encourage wrapping
a simple bitmap in a vector file format as-is.

In general, a lot of things can be done with image files which we don't
encourage; a user can upload copyright infringing images, or even images
containing objectionable, offensive, immoral or downright illegal content. As
with such cases, it is typically the remit of the community concerned to police
for improper use of any functionality we provide.
Comment 9 Rob Church 2007-05-14 06:41:27 UTC
(SVGZ support is bug 4947)

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links