Inkscape.org
Beginners' Questions Finished vector file size only 4KB
  1. #1
    splendid1506 splendid1506 @splendid1506

    I am new to inkscape and enclosed vector file is only 4 KB, while I set working page at 5000 x 5000px. I save it as an . eps file. I thought its gonna be much bigger, at least 4 MB. Thanks a lot.

  2. #2
    inklinea inklinea @inklineaโ›ฐ๏ธ

    If you have a pure vector image and you enlarge it from 100px to 1000px or 1000000px the file size should be roughly the same.ย 

    If you type 'raster vs vector' or 'bitmap vs vector' into google there are many sites which explain the difference between the 2 image types.

    In svg here is the definition for two rectanglesย of very different sizes :ย 

    <svg width="800" height="600" xmlns="http://www.w3.org/2000/svg">
    ย  <rect height="27" width="27" y="25" x="20" stroke-width="1.5" stroke="#000" fill="#FFA9A2"/>
    ย  <rect height="562" width="719" y="22" x="64" stroke-width="1.5" stroke="#000" fill="#FFFA8D"/>
    </svg>
    ย 

    Notice how each rectangle only takes up 1 line of code, but in the image they are very different sizes.

    In a raster/bitmap image such as a .png or .jpg, the 2 rectangles would require different amounts of space in the file.

    ย 

    ย 

    Rectangles2
  3. #3
    splendid1506 splendid1506 @splendid1506

    Thanks a lot Inklinea, now it's crystal clear.

Inkscape Inkscape.org Inkscape Forum Beginners' Questions Finished vector file size only 4KB