swivelgames wrote:
Confused You can code an image? Smile


Thats because SVG isn't an "image", its a description of an image. When you look at an SVG, you are looking at the RENDERING of the object the SVG file describes.

Not sure if you can use it for an icon in windows or not, but it shouldn't be all that hard to make them in SVG, and then convert them to windows ico format (releasing, of course, both the SVG and the ico Smile )

As for the linux, just install Ubuntu. Its one of, if not the, easiest distro to get up and running. Just ask all the people here who have successfully installed and use it Smile
I have Fedora Core 6 cause I gave up on Ubuntu. Ubuntu screwed up my computer. I installed it and all, but I had to restore my harddrive. Fedora is working out well, and the installation ran clean except for disc 5. So next I just need to get a new Disc 5 Wink

Do I need a plugin to export in SVG in GIMP?
you might need the plugin (as I can't seem to save to SVG in my GIMP install). As for Linux, I have found Ubuntu easier then Fedora (but that is me), as I actually got wifi to work with WPA in Ubuntu, couldn't if FC4.
Check this out. Save this as pdf.svg, then open in Firefox:

'Tis my first vector-art creation.

Code:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:cc="http://web.resource.org/cc/"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:svg="http://www.w3.org/2000/svg"
   xmlns="http://www.w3.org/2000/svg"
   xmlns:xlink="http://www.w3.org/1999/xlink"
   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
   width="64px"
   height="64px"
   id="svg2160"
   sodipodi:version="0.32"
   inkscape:version="0.45+devel"
   sodipodi:modified="true">
  <defs
     id="defs2162">
    <linearGradient
       id="linearGradient6095">
      <stop
         id="stop6103"
         offset="0"
         style="stop-color:#eed74e;stop-opacity:0.49803922;" />
      <stop
         style="stop-color:#e1c749;stop-opacity:0.24705882;"
         offset="0.5"
         id="stop8061" />
      <stop
         style="stop-color:#d5b845;stop-opacity:0;"
         offset="1"
         id="stop6099" />
    </linearGradient>
    <linearGradient
       inkscape:collect="always"
       xlink:href="#linearGradient6095"
       id="linearGradient6115"
       x1="9.5"
       y1="31.5"
       x2="57.681816"
       y2="31.5"
       gradientUnits="userSpaceOnUse"
       spreadMethod="pad" />

  </defs>
  <sodipodi:namedview
     id="base"
     pagecolor="#ffffff"
     bordercolor="#666666"
     borderopacity="1.0"
     inkscape:pageopacity="0.0"
     inkscape:pageshadow="2"
     inkscape:zoom="5.5"
     inkscape:cx="52.454545"
     inkscape:cy="32.190909"
     inkscape:current-layer="layer1"
     showgrid="true"
     inkscape:document-units="px"
     inkscape:grid-bbox="true"
     inkscape:window-width="1024"
     inkscape:window-height="1223"
     inkscape:window-x="-4"
     inkscape:window-y="-4" />
  <metadata
     id="metadata2165">
    <rdf:RDF>
      <cc:Work
         rdf:about="">
        <dc:format>image/svg+xml</dc:format>
        <dc:type
           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
      </cc:Work>

    </rdf:RDF>
  </metadata>
  <g
     id="layer1"
     inkscape:label="Layer 1"
     inkscape:groupmode="layer">
    <path
       style="fill:url(#linearGradient6115);fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;fill-opacity:1.0"
       d="M 10,4 C 10,4 20,5.0909091 15,31.636364 C 10,58.181818 15,59 15,59 L 57.181818,59 C 57.181818,59 50.90909,49.454545 53.636364,31.727273 C 56.285878,14.505437 53.454546,11.818182 53.454546,11.818182 L 46,11.818182 L 46,4 L 10,4 z "
       id="path2192"
       sodipodi:nodetypes="csccscccc" />
    <path
       style="fill:#e9ddaf;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
       d="M 46,3.8181818 C 53.454545,7.6363636 53.636363,11.818182 53.636363,11.818182 L 46.181818,11.818182 L 46,3.8181818 z "
       id="path2194" />
    <path
       style="fill:#ff0000;fill-rule:evenodd;stroke:#f20000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
       d="M 37.818182,18 C 38.909091,24.363636 29.5684,46.231096 23.818182,45.272727 C 21.636364,44.909091 20.545454,44 20.363636,42.727273 C 20.181818,41.454545 18.909091,37.272727 24.909091,35.636363 C 30.909091,34 32.363636,32 39.272727,35.272727 C 46.181818,38.545455 48.762067,42.336689 48.909091,44.727273 C 49.04487,46.935015 45.581131,47.06999 44.545455,46.727273 C 38.501538,44.727271 42.181818,45.818181 37.272727,43.272727 C 32.017601,40.547846 27.818182,34.090909 28.727273,27.454546 C 29.636364,20.818182 28.909091,19.272727 32.545455,15.090909 C 35.704228,11.458319 37.636363,18 37.818182,18 z "
       id="path2196"
       sodipodi:nodetypes="csssssssssc" />
    <path
       style="fill:#2b0000;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
       d="M 40,55.090909 L 40,62.727273 L 62.545455,62.727273 L 62.545455,54 L 40,54 L 40,55.090909 z "
       id="path3171" />
    <text
       xml:space="preserve"
       style="font-size:12px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans"
       x="39.818184"
       y="61.63636"
       id="text4143"><tspan
         sodipodi:role="line"
         id="tspan4145"
         x="39.818184"
         y="61.63636"
         style="font-size:9px;fill:#ffffff">P D F</tspan></text>

    <path
       style="fill:#ff0000;fill-rule:evenodd;stroke:#f40000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
       d="M 29.090909,34 L 33.636364,33.272727 L 31.454545,38 L 29.090909,34 z "
       id="path4147" />
  </g>
</svg>
Not bad, I guess. The little red loop thing needs some work, though Wink ( http://en.wikipedia.org/wiki/Image:PDF.png )
Here, I think this looks a bit better:


Code:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:cc="http://web.resource.org/cc/"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:svg="http://www.w3.org/2000/svg"
   xmlns="http://www.w3.org/2000/svg"
   xmlns:xlink="http://www.w3.org/1999/xlink"
   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
   width="64px"
   height="64px"
   id="svg2160"
   sodipodi:version="0.32"
   inkscape:version="0.45+devel"
   sodipodi:docname="pdf.svg"
   inkscape:output_extension="org.inkscape.output.svg.inkscape"
   sodipodi:docbase="C:\Documents and Settings\Administrator\Desktop"
   sodipodi:modified="true">
  <defs
     id="defs2162">
    <marker
       inkscape:stockid="RazorWire"
       id="RazorWire"
       refX="0"
       refY="0"
       orient="auto">
       style=&quot;overflow:visible&quot;&gt;
      <path
   id="path6108"
   transform="scale(0.8,0.8)"
   style="fill:#808080;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.1pt"
   d="M 0.022727273,-0.74009011 L 0.022727273,0.69740989 L -7.7585227,3.0099099 L 10.678977,3.0099099 L 3.4914773,0.69740989 L 3.4914773,-0.74009011 L 10.741477,-2.8963401 L -7.7272727,-2.8963401 L 0.022727273,-0.74009011 z " />
</marker>
    <marker
       inkscape:stockid="Legs"
       orient="auto"
       refY="0.0"
       refX="0.0"
       id="Legs"
       style="overflow:visible">
      <g
         id="g6131"
         transform="scale(-0.7)">

        <g
           id="g6133"
           transform="matrix(0,-1.000000,-1.000000,0,20.70862,21.31391)">
          <path
             id="path6135"
             d="M 21.221250,20.675360 C 14.311099,25.396517 18.766725,27.282204 15.380179,34.118595"
             style="fill:none;fill-opacity:0.75000000;fill-rule:evenodd;stroke:#000000;stroke-width:1.0000000pt;marker-start:none;marker-end:none" />
          <path
             id="path6137"
             d="M 21.398110,20.548120 C 20.037601,28.895644 24.934182,29.318060 25.903151,34.373078"
             style="fill:none;fill-opacity:0.75000000;fill-rule:evenodd;stroke:#000000;stroke-width:1.0000000pt;marker-start:none;marker-end:none" />
        </g>
        <path
           id="path6139"
           d="M -14.090070,-6.7318716 L -15.012238,-2.6884886 L -11.049487,-3.9115586 L -14.090070,-6.7318716 z "
           style="fill:#030300;fill-rule:evenodd;stroke-width:1.0000000pt;marker-end:none" />
        <path
           id="path6141"
           d="M -15.215679,4.5567534 L -13.341552,8.2563664 L -11.074678,4.7835114 L -15.215679,4.5567534 z "
           style="fill:#030300;fill-rule:evenodd;stroke-width:1.0000000pt;marker-end:none" />
      </g>
    </marker>
    <linearGradient
       id="linearGradient6095">

      <stop
         id="stop6103"
         offset="0"
         style="stop-color:#eed74e;stop-opacity:0.49803922;" />
      <stop
         style="stop-color:#e1c749;stop-opacity:0.24705882;"
         offset="0.5"
         id="stop8061" />
      <stop
         style="stop-color:#d5b845;stop-opacity:0;"
         offset="1"
         id="stop6099" />
    </linearGradient>
    <linearGradient
       inkscape:collect="always"
       xlink:href="#linearGradient6095"
       id="linearGradient6115"
       x1="9.5"
       y1="31.5"
       x2="57.681816"
       y2="31.5"
       gradientUnits="userSpaceOnUse"
       spreadMethod="pad" />
    <filter
       inkscape:collect="always"
       id="filter6496">
      <feGaussianBlur
         inkscape:collect="always"
         stdDeviation="0.29545454"
         id="feGaussianBlur6498" />
    </filter>
  </defs>

  <sodipodi:namedview
     id="base"
     pagecolor="#ffffff"
     bordercolor="#666666"
     borderopacity="1.0"
     inkscape:pageopacity="0.0"
     inkscape:pageshadow="2"
     inkscape:zoom="5.5"
     inkscape:cx="52.454545"
     inkscape:cy="32.190909"
     inkscape:current-layer="layer1"
     showgrid="true"
     inkscape:document-units="px"
     inkscape:grid-bbox="true"
     inkscape:window-width="1280"
     inkscape:window-height="967"
     inkscape:window-x="-4"
     inkscape:window-y="-4" />
  <metadata
     id="metadata2165">
    <rdf:RDF>
      <cc:Work
         rdf:about="">
        <dc:format>image/svg+xml</dc:format>
        <dc:type
           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
      </cc:Work>
    </rdf:RDF>

  </metadata>
  <g
     id="layer1"
     inkscape:label="Layer 1"
     inkscape:groupmode="layer">
    <path
       style="fill:url(#linearGradient6115);fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;fill-opacity:1.0"
       d="M 10,4 C 10,4 20,5.0909091 15,31.636364 C 10,58.181818 15,59 15,59 L 57.181818,59 C 57.181818,59 50.90909,49.454545 53.636364,31.727273 C 56.285878,14.505437 53.454546,11.818182 53.454546,11.818182 L 46,11.818182 L 46,4 L 10,4 z "
       id="path2192"
       sodipodi:nodetypes="csccscccc" />
    <path
       style="fill:#e9ddaf;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
       d="M 46,3.8181818 C 53.454545,7.6363636 53.636363,11.818182 53.636363,11.818182 L 46.181818,11.818182 L 46,3.8181818 z "
       id="path2194" />
    <path
       style="fill:#2b0000;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
       d="M 40,55.090909 L 40,62.727273 L 62.545455,62.727273 L 62.545455,54 L 40,54 L 40,55.090909 z "
       id="path3171" />
    <text
       xml:space="preserve"
       style="font-size:12px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans"
       x="42.399902"
       y="61.45454"
       id="text4143"><tspan
         sodipodi:role="line"
         id="tspan4145"
         x="42.399902"
         y="61.45454"
         style="font-size:9px;fill:#ffffff">PDF</tspan></text>
    <path
       sodipodi:type="arc"
       style="fill:#000000;fill-opacity:0.21052629;fill-rule:evenodd;stroke:#750000;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;marker-start:none;marker-mid:none;stroke-miterlimit:4;stroke-dasharray:1, 2;stroke-dashoffset:0;stroke-opacity:1;filter:url(#filter6496)"
       id="path5108"
       sodipodi:cx="36"
       sodipodi:cy="33.363636"
       sodipodi:rx="10"
       sodipodi:ry="10.272727"
       d="M 46 33.363636 A 10 10.272727 0 1 1  26,33.363636 A 10 10.272727 0 1 1  46 33.363636 z"
       transform="translate(-0.5,1.2727273)" />
    <path
       style="fill:#cd0000;fill-opacity:1;fill-rule:evenodd;stroke:#f40000;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"
       id="path4121"
       d="M 21.109667,42.145443 C 22.455278,42.234807 23.749669,42.09173 25.030893,41.681681 C 26.319164,41.131113 27.614647,40.596586 28.911264,40.063375 C 28.216246,40.635327 32.08502,38.363403 31.294676,38.79414 C 29.731527,39.646055 29.277639,39.985829 30.339968,39.251491 C 31.399324,38.42294 32.355663,37.473335 33.299558,36.518219 C 34.324087,35.520073 35.256443,34.436461 36.15594,33.32618 C 37.070533,32.179073 37.865781,30.948966 38.628782,29.698623 C 39.369347,28.502399 39.826398,27.169764 40.338417,25.868221 C 40.77007,24.561119 41.361141,23.315906 41.68099,21.974339 C 41.881629,20.623962 41.765687,19.250626 41.718049,17.892238 C 41.907055,15.981413 40.554453,16.290702 39.265516,16.985048 C 42.220157,14.929183 39.550277,17.773972 39.015878,18.993262 C 38.54159,20.178062 38.159296,21.399872 37.842995,22.63577 C 37.492934,23.997204 37.469765,25.404576 37.446334,26.800891 C 37.434145,28.149812 37.458004,29.498653 37.465829,30.84752 C 37.453201,32.144747 37.584316,33.438435 37.730021,34.725893 C 37.888252,36.075626 38.443666,37.27961 39.066934,38.465964 C 39.727543,39.628653 40.36578,40.792306 41.16759,41.866109 C 42.108653,43.093115 43.156514,43.43071 44.640511,43.406713 C 48.260268,42.115464 44.013779,45.068517 45.655469,42.648894 C 46.418619,41.339967 46.56326,40.172191 45.538666,39.01349 C 44.566969,38.031678 43.2693,37.578128 41.982919,37.169465 C 40.708976,36.767806 39.399264,36.581107 38.068282,36.546946 C 36.733291,36.517524 35.397908,36.562417 34.062734,36.573346 C 32.812608,36.579557 31.562469,36.581397 30.312332,36.583244 C 29.046434,36.58373 27.780537,36.582507 26.51464,36.583222 C 25.258922,36.595381 24.001783,36.551089 22.747156,36.611997 C 21.48826,36.46739 17.71639,38.686285 21.532535,36.656926 C 20.607723,37.510276 19.938605,38.592456 19.440495,39.738717 C 19.012198,41.039466 19.902624,41.812463 21.104434,41.974506 L 18.963864,43.472785 C 17.669644,43.189931 16.674368,42.246707 17.080421,40.826589 C 17.549804,39.640924 18.225873,38.545662 19.114123,37.624347 C 21.061339,36.413225 22.560258,35.184292 24.855653,35.067898 C 26.11009,35.034118 27.365354,35.065194 28.620131,35.053515 C 29.886341,35.054407 31.152553,35.053644 32.418762,35.052518 C 33.670406,35.051917 34.922077,35.050398 36.17366,35.036774 C 37.511494,35.023732 38.849145,35.02311 40.186976,35.021758 C 41.533318,35.105863 42.847959,35.301294 44.141339,35.704121 C 45.456017,36.154856 46.76909,36.654823 47.752479,37.67677 C 48.844928,38.932757 48.791174,40.14084 48.043434,41.606665 C 46.796083,43.437794 44.786735,44.785365 42.549545,44.92678 C 40.996034,44.911059 39.924712,44.441845 38.945361,43.188481 C 38.108229,42.129664 37.486383,40.928424 36.83092,39.751742 C 36.143249,38.573042 35.627147,37.288868 35.426253,35.932326 C 35.2822,34.636838 35.140818,33.334349 35.148804,32.029631 C 35.142493,30.677976 35.138648,29.326296 35.135334,27.974634 C 35.148229,26.566381 35.204694,25.141744 35.490777,23.760597 C 35.814015,22.5109 36.185941,21.269939 36.662654,20.069531 C 37.776178,17.655829 38.567767,16.620732 41.295761,15.362292 C 42.736692,14.711104 44.238622,14.764603 44.024342,16.708534 C 44.057444,18.087474 44.1952,19.475831 44.017886,20.849594 C 43.714496,22.209592 43.136931,23.473584 42.670289,24.782493 C 42.210034,26.108288 41.686317,27.405042 41.019816,28.642848 C 40.231236,29.899019 39.425389,31.142205 38.516879,32.317101 C 37.63475,33.440501 36.715608,34.534954 35.686106,35.527956 C 34.740553,36.485715 33.795938,37.447417 32.753371,38.301945 C 30.904726,39.59063 28.915864,40.708115 26.87586,41.666838 C 25.574555,42.199409 24.284386,42.758696 22.975212,43.270151 C 21.677743,43.64632 20.356663,43.73468 19.007524,43.67274 L 21.109667,42.145443 z " />

  </g>
</svg>
Yeah, its better, but if you are going to mimic the Adobe PDF logo, methinks you should at least accurately mimic it (or not, as that's prolly copywrite infringement)

Then again, I don't know if the icon theme I'm using even has a specific icon for PDF files, as I've never seen it Very Happy (previews ftw!)
I seem to be able to open SVG files in GIMP.

Not sure about saving as them though. I will
try in a sec.
Well, did that work out? I believe GIMP needs a plugin to save as SVG.
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 2 of 2
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement