Inkscape.org
Using Inkscape with Other Programs Memorial church - File sizes are very big
  1. #1
    Scott Davies Scott Davies @scott1e7b6692b88f4d44

    Hi, I have created a number of SVG files for use with Power BI for a project I am working on for a memorial church. The idea here is that the user can click on an object (a stained glass window or plaque or seat cushion or whatever) and it gives them information about that object. 

    Unfortunately, what I have found is that the resultant SVG files are anythign from several hundred KB up to 3.5MB in size and this has resulted in a Power BI file that is nearly 25MB. 

    Can anyone give me some pointers on making the file smaller? 

    What I have tried so far:

    • Resized the canvas and the image to 1024 pixels wide
    • Tried the clean up document option
    • Exported as plain SVG, optimised SVG or inskscape SVG

    All of these steps have had either very little or even negative results in terms of file size. I'd appreciate some guidance on how I can possibly make these images smaller. I have around 10 images of various parts of the church.  Thank you for any help/guidance. 

    Here is just one:
    https://www.dropbox.com/scl/fi/l8vw2uft8zqlx8vfxgpxz/North-Wall.svg?rlkey=iusbsksbr8lu96e3joq747qf8&dl=0

  2. #2
    Polygon Polygon @Polygon🌶

    Are you sure about the page size?

  3. #3
    Scott Davies Scott Davies @scott1e7b6692b88f4d44

    Hi @Polygon, this was the result of using a different SVG tool (designed for the Power BI tool I am using but apparently not very good). I have resized the pages using the File, Document Properties and made the pages smaller. However, it seems to make minimal/zero difference to the resultant file size. 

  4. #4
    Tyler Durden Tyler Durden @TylerDurden
    *

    Will Power BI work with externally linked images?

    Example attached.

    The bulk of the filesize is the image itself.

  5. #5
    Paddy_CAD Paddy_CAD @Paddy_CAD

    I opened your file, selected the background, then [right-click > Extract Image...], saved it to my desktop, and finally saved the svg file too. You can see the result below. As you can see, most of your file size comes from a 2.7MB jpg embedded in the svg file. All other content only adds up to 11KB (0.4% of the total). There are various applications available to shrink jpg images without sacrificing image quality. My favourite for windows is...
    RIOT - Radical Image Optimization Tool (riot-optimizer.com)

     

  6. #6
    Scott Davies Scott Davies @scott1e7b6692b88f4d44

    @TylerDurden - unfortunately not. It has to be embedded. Thanks for the suggestion though. 

    @Paddy_CAD - that's useful. I knew the image itself was quite big but you have given me a good suggestion which I will explore! Thank you. 

Inkscape Inkscape.org Inkscape Forum Using Inkscape with Other Programs Memorial church - File sizes are very big