Narutopedia
Register
Advertisement
Forums: Index Narutopedia Discussion Svg Images
Note: This topic has been unedited for 3400 days. It is considered archived - the discussion is over. Do not add to unless it really needs a response.


Is there anyone other than me arround here who knows the difference between a .svg file and another file such as a .png? If you don't know what that is then it's hard to get the significance of what I'm doing.

.svg is a special type of image, it workes differently than other image types. Though not all browsers support .svg, but fortunately the MediaWiki system here works specialy, we can upload a .svg file, and when we include the image into a page giving out the size parameter like we normaly do, it creates a .png file in that size, that means that even though a number of browsers can't display the image, we still get the benefits of .svg images because MediaWiki converts them into .pngs. A .png just like a .gif, .jpg, .bmp, or any other image type simply works with a fixed sized set of dots. A .svg is different though. A .svg file is actualy text/xml unlike the binary format of a image file, additionaly to that, a .svg dosen't work in dots, .svgs use objects such as lines, circles, squares, and add effects and colors to them. What's the significance? Well with a normal image such as a .png if we scale up the image to a gigantic proportion all those formerly little dots we saw now look like big boxes. But a .svg dosen't use the dots, instead it uses sets of objects, these objects such as a circle, even when blown up to large scales don't turn into pixelated boxes, this means that no matter how large you make the image it still looks normal. A demonstration if you will:

.png .svg
Image:Stub.png Konohagakure Symbol

Both of these images were originaly 48px × 48px, but unlike the .png, the .svg hasen't lost it's quality even though it's been blown up to 350px × 350px over 7× it's normal size.

Now to explain what I'm doing. Using InkScape, I'm drawing up .svg versions of each of the Symbols you can see at commons:Naruto. Can you see the benefit? Dantman (Talk) 00:56, 25 February 2007 (UTC)


T_T Any feedback? As it says on my userpage, what I do is determined by what the editors appear interested in. I'll ever get these finished for the Userboxes and articles if no-one says anything. Dantman (Talk) 01:28, 2 March 2007 (UTC)
Hi! I've just had the same idea today, and here's the result:
It's all scalable, so you can stretch it as much as you like:
But it's also useful as an inline symbol, as in "Gaara[[Image:Sand Village Logo.svg|15px|]] vs Deidara[[Image:Rock Village Logo.svg|15px|]]" (I made it with a bit of a whitespace so we don't have to specify the margins every time. Enjoy! --Radaghast 13:39, 13 July 2007 (UTC)
T_T my artistic talents are no good anymore... Noooooo.... But I don't know about that adding whitespace. if we needed margins or something, We'd just come up with something like {{Village inline|<village>}} which would always have the whitespace needed with the icon. ~NOTASTAFF Daniel Friesen (DanTMan, Nadir Seen Fire) (talk) current discussion Jul 14, 2007 @ 23:16 (UTC)
Advertisement