gotcha

Author Topic: Effects layers disappearing/not working in other programs??  (Read 1277 times)

April 13, 2018, 02:09:04 PM
Read 1277 times

marree

  • Sr. Newbie

  • Offline
  • **

  • 2
Hello everyone! I'm super new, both to the forum and Inkscape. I tried searching for this problem but came across nothing, but I might be looking in the wrong places??

So yeah, this is probably a totally rookie mistake but well, here we are. I'm a digital artist who wants to look into vectoring but I'm having this issue where, if an object has an effect (like multiply/overlay/etc) and I open it in a different program, said object will either appear normally with no effect, or disappear altogether. I whipped up a quick smiley face for an example:

Exported to PNG, it looks as it should.

png smiley.PNG
*png smiley.PNG
(50.08 kB . 420x416)
(viewed 364 times)

(ignore the black background, that's just Chrome). I made the "shadow" an obnoxious magenta to illustrate, and with "Multiply" against the yellow it turns bright red. Cool.

But when saved as an SVG and opened into Chrome...

svg smiley.PNG
*svg smiley.PNG
(65.19 kB . 352x406)
(viewed 306 times)


It totally ignores the fact that it's supposed to be multiplied.

It does this with both types of SVGs as WELL as PDFs. I'm also unsure if PDFs get rasterized upon saving??


Earlier, with a previous image, I'd used a clipped object that it totally ignored, but for some reason with the smiley's shadow it's working. The gradient works well also, though when opened in Krita it defaults to a flat blob. (That's probably just krita though, I still need to learn how to properly open svgs in it.)


I'm hoping to eventually make money with this program and this is kinda halting that. Help please? D:
  • .92
  • Windows 10

April 14, 2018, 08:08:37 AM
Reply #1

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
PDFs don't support SVG filters, so you need to either check the option for rasterizing filter effects, or not use filters.

If Chrome doesn't support that particular blend filter yet, then... it doesn't.

Use a different technique if you want to use Chrome for displaying the picture, and if you like, make a feature request (or subscribe to any existing bug report) at google's bug tracker. Or use a different progrem for displaying the image.

Generally speaking, pictures with heavy filtering:

- take a toll on rendering speed
- don't have 100% support by all the other SVG renderers out there
- don't export well to pdf, at least not without loss of quality
- are best used after export to PNG

April 14, 2018, 06:20:34 PM
Reply #2

marree

  • Sr. Newbie

  • Offline
  • **

  • 2
Ohhh that makes a ton of sense! Thought I'd totally messed something up. I come from a background of digital art where I use a ton of filter layers over the art to achieve desired effects.  I guess to have a universally compatible SVG the idea is to not do that?? It'll take some getting used to but that works! Thanks very much :)
  • .92
  • Windows 10

April 15, 2018, 07:05:25 AM
Reply #3

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
SVG is a W3C standard, like html. And just like for html, not every program that can display it has implemented all parts of the standard, and some have added extra functionality that only works for them.
Inkscape strives to only add extra functionality that does not affect the look of the SVG - the filter you're using is in the standard, as far as I know (but flowed text and mesh gradients are not (they were planned, but then in the end, they haven't been added), just so you're warned if you use them).