File:Flago de Esperanto.svg
Original file (SVG file, nominally 319 × 213 pixels, file size: 1 KB)
Captions
Summary
editDescriptionFlago de Esperanto.svg | Early attempts to display SVG files. | |||
Date | 7 January 2003 | |||
Source | Own work | |||
Author | Brion VIBBER | |||
Permission (Reusing this file) |
|
|||
Other versions | Flag of Esperanto.svg (5 code lines, 229 bytes) |
Code
edit<?xml version="1.0" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> <svg width="318.898" height="212.598" id="svg205" xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:xlink="http://www.w3.org/1999/xlink" sodipodi:docname="Flago_de_Esperanto.svg" sodipodi:docbase="./"> <sodipodi:namedview id="base"> </sodipodi:namedview> <defs id="defs207"> </defs> <rect width="318.898" height="212.598" x="0" y="0" style="font-size:12;fill:#009900;fill-rule:evenodd;stroke-width:1pt;" id="rect209" transform="matrix(1 0 0 1 1.88143 0.000162242)"> </rect> <rect width="106.299" height="106.299" x="0" y="0" style="font-size:12;fill:#ffffff;fill-rule:evenodd;stroke-width:1pt;" id="rect210"> </rect> <polygon points="42.4307,74.1635 17.0888,55.974 -6.94187,73.7921 2.52621,44.0696 -21.8456,26.7212 9.34788,26.5411 18.3159,-1.99881 28.1265,27.6123 58.0409,27.3221 32.9106,45.8029 42.4307,74.1635 " transform="matrix(1 0 0 1 34.8728 15.835)" style="font-size:12; fill:#009900; fill-rule:evenodd; stroke-width:1pt; fill-opacity:100%; " id="polygon211"> </polygon> </svg>
(file size: 43 code lines, 1333 bytes) HKC CEO分享到: .
Simplified code
editThe example above is overly complicated and bloated:
- The aspect ratio 2:3 is realized with 318.898×212.598, but 300×200 or 600×400 does the same more simply.
font-size
does not need to be declared, as there is no text in the graphic.fill-rule
,stroke-width
,fill-opacity
declarations are not needed, as these properties are not invoked anywhere.- Transformations are not needed, as the image is not scaled or rotated.
This is typical Sodipodi/Inkscape overkill, even on images consisting of just a few simple geometric shapes. The same image can be produced with just a few lines of code:
<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" width="600" height="400"> <path fill="#009900" d="m0,0H600V400H0"/> <path fill="#FFFFFF" d="m0,0h200v200H0"/> <path fill="#009900" d="m58,157 41-126 41,126-107-78h133"/> </svg>
File size: 6 code lines, 255 bytes. This simplified version passes the W3C Markup Validation Service but can still be opened with Inkscape.
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 12:48, 3 December 2012 | 319 × 213 (1 KB) | RoqqR (talk | contribs) | Reverted to version as of 00:19, 31 October 2005 | |
00:20, 31 October 2005 | 319 × 213 (1 KB) | CryptoQuick (talk | contribs) | Reverted to earlier revision | ||
00:19, 31 October 2005 | 319 × 213 (1 KB) | CryptoQuick (talk | contribs) | Reverted to earlier revision | ||
02:08, 10 September 2005 | 319 × 213 (1 KB) | Brooke Vibber (talk | contribs) | Reupload to test | ||
13:35, 15 August 2003 | 319 × 213 (1 KB) | Sansculotte (talk | contribs) | Reverted to earlier revision | ||
13:34, 15 August 2003 | 319 × 213 (1 KB) | Sansculotte (talk | contribs) | Reverted to earlier revision | ||
10:11, 7 January 2003 | 319 × 213 (1 KB) | Eloquence (talk | contribs) | trying to edit SVG | ||
08:26, 7 January 2003 | 319 × 213 (1 KB) | Brooke Vibber (talk | contribs) | Simple example SVG image; Esperanto flag (drawn by me in Sodipodi) |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.
File usage on other wikis
The following other wikis use this file:
- Usage on meta.wikimedia.org
Metadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
Width | 318.898 |
---|---|
Height | 212.598 |