# Inskape svg plugin with no transparency?

**URL:** <https://forum.cinelerra-gg.org/t/inskape-svg-plugin-with-no-transparency/247>\
**Category:** General\
**Created:** [October 16, 2020, 8:44am UTC](https://forum.cinelerra-gg.org/t/inskape-svg-plugin-with-no-transparency/247 "2020-10-16T08:44:36Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![armando](https://forum.cinelerra-gg.org/letter_avatar_proxy/v4/letter/a/a5b964/32.png) [@armando](https://forum.cinelerra-gg.org/u/armando)\
**Post date:** [October 16, 2020, 8:44am UTC](https://forum.cinelerra-gg.org/t/inskape-svg-plugin-with-no-transparency/247/1 "2020-10-16T08:44:36Z")

</div>

Hi, everyone…

Im trying to use the svg inkscape plugin. I think that it is a very good idea the possibilty of insertion and modifying svg files whitin in Cin.

Unfortunately the svg file when imported in Cin has no transparent background.

If that same file is imported in gimp, it has its background transparent. So that tells me that even if the svg format has no implementation of transparency by default, the Inkscape svg file tell gimp that this particular file has no background.

Of course I can have a green background in that file and remove via Chroma key filters but this add a layer of work and complexity…

Or perhaps Im missing something to get imported the Inskcape svg file with transparency.

Any help or hint will be welcome.

Tanks

Armandux

---

<div class="post-metadata">

**Author:** ![phylsmith2004](https://forum.cinelerra-gg.org/letter_avatar_proxy/v4/letter/p/d26b3c/32.png) [@phylsmith2004](https://forum.cinelerra-gg.org/u/phylsmith2004)\
**Post date:** [October 16, 2020, 11:40pm UTC](https://forum.cinelerra-gg.org/t/inskape-svg-plugin-with-no-transparency/247/2 "2020-10-16T23:40:46Z")

</div>

Hi, GG is looking at this yet today (my computer has been unavailable all day so late in seeing this). I think I remember having looked into this before but do not remember the result.

Update: continuing tomorrow. It may be a result of an update in Inkscape that has not been propagated in Cinelerra, but we are not sure yet.

---

<div class="post-metadata">

**Author:** ![phylsmith2004](https://forum.cinelerra-gg.org/letter_avatar_proxy/v4/letter/p/d26b3c/32.png) [@phylsmith2004](https://forum.cinelerra-gg.org/u/phylsmith2004)\
**Post date:** [October 17, 2020, 10:23pm UTC](https://forum.cinelerra-gg.org/t/inskape-svg-plugin-with-no-transparency/247/3 "2020-10-17T22:23:43Z")

</div>

Turns out that the changes are due to upgrades in inkscape. When cinelerraGG needs to update the image file, it runs a batch inkscape command like this:

[root@xray svg]# inkscape --without-gui --export-background=0x000000 --export-background-opacity=0 -d 96.000000 /tmp/bs.svg --export-png=/tmp/bs.svg.png  
Warning: Option --without-gui= is deprecated  
Warning: Option --export-png= is deprecated

\*\* (org.inkscape.Inkscape:29472): WARNING \*\*: 15:50:21.060: Fonts dir /root/.config/inkscape/fonts does not exist and will be ignored.  
Background RRGGBBAA: ffffffff  
Area 0:0:1280:720 exported to 1280 x 720 pixels (96 dpi)The log indicates that the changes introduced damages to cin.

I have upgraded the new.svg default image, and revised the command:

[root@xray svg]# inkscape --export-background=0x000000 --export-background-opacity=0.001 -d 96.000000 /tmp/bs.svg --export-filename=/tmp/bs.svg.png

\*\* (org.inkscape.Inkscape:29491): WARNING \*\*: 15:50:49.791: Fonts dir /root/.config/inkscape/fonts does not exist and will be ignored.  
Background RRGGBBAA: ffffff00  
Area 0:0:1280:720 exported to 1280 x 720 pixels (96 dpi)  
The changes avoid the warnings, and the opacity is back to 00.  
Still, these are damages to the interface. The opacity is wrong,  
and the export code used to not depend on the X server running.  
There may be limits to what works from a batch job.

1. The without-gui and export-png features are deleted/renamed.
2. The program could fail on a batchrender if X is not running.
3. The export-background-opacity has been changed from 00 to ff.

---

<div class="post-metadata">

**Author:** ![phylsmith2004](https://forum.cinelerra-gg.org/letter_avatar_proxy/v4/letter/p/d26b3c/32.png) [@phylsmith2004](https://forum.cinelerra-gg.org/u/phylsmith2004)\
**Post date:** [October 17, 2020, 10:27pm UTC](https://forum.cinelerra-gg.org/t/inskape-svg-plugin-with-no-transparency/247/4 "2020-10-17T22:27:37Z")

</div>

(Previous reply written by GG.)

The changes to fix the transparency problem for now will be checked in and available in the October 31 builds. If you need the changes earlier than that, we can create a static tar build for whichever Operating System you are using.

Thanks so much for reporting this deficiency – it is how we can keep up with the changes needed.

P.S. The October builds will also include an drag select to _select_ multiple edits on the timeline and also to easy _deselect_ multiple edits as you mentioned in a previous forum topic.

---

<div class="post-metadata">

**Author:** ![IgorBeg](https://forum.cinelerra-gg.org/letter_avatar_proxy/v4/letter/i/ecb155/32.png) [@IgorBeg](https://forum.cinelerra-gg.org/u/IgorBeg)\
**Post date:** [October 18, 2020, 8:16am UTC](https://forum.cinelerra-gg.org/t/inskape-svg-plugin-with-no-transparency/247/5 "2020-10-18T08:16:26Z")

</div>

Hi Armando,

could you check which Color model are you using, please?

You have to use a RGB **A** or YUV **A** format for the alpha channel.

Check it in, Menu-\> Settings-\> Format…, Video area, Color model.

In my test with Cin\_20200930 and Cin\_20200531, and Inkscape\_0.92.4 it works right (my OS is UbuntuStudio\_16.04).

PS:

Sigh-sigh. I am also here.

---

<div class="post-metadata">

**Author:** ![armando](https://forum.cinelerra-gg.org/letter_avatar_proxy/v4/letter/a/a5b964/32.png) [@armando](https://forum.cinelerra-gg.org/u/armando)\
**Post date:** [October 18, 2020, 9:17am UTC](https://forum.cinelerra-gg.org/t/inskape-svg-plugin-with-no-transparency/247/6 "2020-10-18T09:17:31Z")

</div>

@phylsmith2004

Great. It is wonderful the quick and kind response.

Thank you so muuuuchhhh…!

🙂

---

<div class="post-metadata">

**Author:** ![armando](https://forum.cinelerra-gg.org/letter_avatar_proxy/v4/letter/a/a5b964/32.png) [@armando](https://forum.cinelerra-gg.org/u/armando)\
**Post date:** [October 18, 2020, 9:24am UTC](https://forum.cinelerra-gg.org/t/inskape-svg-plugin-with-no-transparency/247/7 "2020-10-18T09:24:12Z")

</div>

@igorbeg

Thank you for your kind help. I always use RGBA model, because I use a lot the Tittle/text plugin to sobreimpress text to image.

Im using ubuntustudio 20.04 and Inkskape 1.0, and as phyllis have pointed wisely it is a new implementation of the inksape file that causes this issue in Cin.

Anyway thank you.

Armando
