X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fsvg%2Fsvg.C;h=ad9a9d011c349e8606892bcbb288a49dea138f03;hb=d4b5d500524428be1553344a5416699a814fe898;hp=baa5efed7b362981092abe7780e849d9efbdd805;hpb=7fd85fb66168f6b518c5f2d73e04036e87faa0e1;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/plugins/svg/svg.C b/cinelerra-5.1/plugins/svg/svg.C index baa5efed..ad9a9d01 100644 --- a/cinelerra-5.1/plugins/svg/svg.C +++ b/cinelerra-5.1/plugins/svg/svg.C @@ -199,18 +199,19 @@ int SvgMain::process_realtime(VFrame *input, VFrame *output) int fd = ms_time < config.ms_time ? -1 : open(filename_png, O_RDWR); if( fd < 0 ) { // file does not exist, export it char command[BCTEXTLEN], dpi[BCSTRLEN]; - snprintf(command, sizeof(command), - "inkscape --without-gui --export-background=0x000000 " - "--export-background-opacity=0 -d %f %s --export-png=%s", + snprintf(command, sizeof(command), "inkscape " +// "--without-gui " + "--export-background=0x000000 --export-background-opacity=0.001 " + " -d %f %s --export-filename=%s", config.dpi, config.svg_file, filename_png); printf(_("Running command %s\n"), command); snprintf(dpi, sizeof(dpi), "%f", config.dpi); - snprintf(command, sizeof(command), "--export-png=%s",filename_png); + snprintf(command, sizeof(command), "--export-filename=%s",filename_png); char *const argv[] = { (char*)"inkscape", - (char*)"--without-gui", +// (char*)"--without-gui", (char*)"--export-background=0x000000", - (char*)"--export-background-opacity=0", + (char*)"--export-background-opacity=0.001", (char*)"-d", dpi, config.svg_file, command, 0, }; exec_command(argv);