Forum Discussion

NickSoave-e5fcb's avatar
NickSoave-e5fcb
Community Member
2 months ago

Does _NOPROCESS_ work with SVG Files?

As stated in the title, does adding NOPROCESS to SVG filenames have the same intended effect as it does when adding it to PNG or JPG files?

Thanks, there are some threads and even a mention on Articulate's main site, but it is still unclear to me.

 

5 Replies

  • no process shouldn't be necessary on SVGs as they are mathematical by nature they shouldn't need compressing

    • PhilFoss's avatar
      PhilFoss
      Community Member

      Phil- I agree. But, an SVG can contain embedded image data, in addition to vector artwork. 

      • PhilMayor's avatar
        PhilMayor
        Super Hero

        and I hadn't thought of that, I only ever use vectors shapes in svs, thank for pointing that out

  • Tim_'s avatar
    Tim_
    Community Member

    SVG files get processed even if you add __NOPROCESS__ in the name. SVG files can, by design, contain javascript and css. This gets 'sanitized' by some process even if you add the directive (meaning: they take all that javascript out again, sometimes mess with the css, and ruin your effects). And the SVG you put in isn't always exactly the SVG that appears, so there is something going on at the server. __NOPROCESS__ used work a number of years ago, but it has become an undocumented feature (used be mentioned on https://www.articulatesupport.com/article/Best-Practices-for-Images-Videos-and-Audio-in-Rise-Courses and no longer is) and it seems like there might be a different image processor at the server side these days.