Inkscape.org
Using Inkscape with Other Programs Compiling saved .SVG-files (saved as base-project/multilayered in InkScape) fails in multiple browsers
  1. #1
    Thomas Due Nielsen Thomas Due Nielsen @tdneren

    Having tried to save a simple .SVG-version of my artwork, the light exposure becomes extreme, when uploaded/HTML-rendered - cf attached

    {over-exposure occurs in Chrome, Edge and Opera }

    Debugging: Wondered if the background color and/or blend-mode were the cause, but that only worked partially (still way too much exposure on regular 'Normal' blended layers)

    Flawinsvgcompiling Inkscapevschrome
  2. #2
    Polygon Polygon @Polygon🌶

    Not sure if you use the default transparency background color, because blend modes won´t work in this case.

  3. #3
    Thomas Due Nielsen Thomas Due Nielsen @tdneren

    ok, no ... as I am pursuing a 'normal exposure', I only tried to debug; by use of altering to different blend-modes (to check if any changes)

     

    btw: here is the html-code

    <img rel="icon" type="data:image/svg+xml" src="https://www.amfibios.dk/WeSe/img/P25/25P_org_c1.svg" decoding="async" style="width:100%;height:100%;" data-file-width="16" data-file-height="16" fill: white;>

    Tried chaing fill to 'black', and googling "html browsers svg scripting" gives me knowledge like: 

    https://developer.mozilla.org/en-US/docs/Web/SVG/Scripting

    https://www.w3schools.com/html/html5_svg.asp

    https://sodocumentation.net/svg/topic/5021/scripting

    - which doesn't help me either :-/

  4. #4
    Tyler Durden Tyler Durden @TylerDurden

    Depending on your application, it may be useful to bitmap the objects (Alt+B, remove original) prior to final output. The ability of renderers to display filtered objects is variable.

    Compare the original to the bitmapped version.

    (I also cleaned the doc.)

  5. #5
    Thomas Due Nielsen Thomas Due Nielsen @tdneren

    Ok, thanks Tyler, ... but the whole reason for me to use InkScape is actually to use the vector-effect (in case of websource is opened on 4 or 8K I want to avoid bitmap blur)

    Understand that the effects are variable (in the sense that one can export, the effects as bitmap only - if one wants the correct 1-to-1 rendering)

    [SOLVED]

  6. #6
    Tyler Durden Tyler Durden @TylerDurden

    Given the variability of renderers for filters, one might recreate the design using gradients to achieve a similar look, and keep all the artwork as vector.

Inkscape Inkscape.org Inkscape Forum Using Inkscape with Other Programs Compiling saved .SVG-files (saved as base-project/multilayered in InkScape) fails in multiple browsers