Open bapsite opened 3 years ago
@bapsite I can reproduce this also with large embedded images. It seems like a problem in the inkscape converter itself, but I'll see if I can find a workaround. No guarantees! For now, try linked images instead.
Hey, I have tried it with linked images and it works. However I got a warning with the inkscape command. the 1.0v of inkscape has changed the options for the shell. I attached the code.
# Create a one-page PDF sub generate_pdf { my $inkfile = shift; my $outfile = shift; system("inkscape -z -A '$outfile' '$inkfile' 2>/dev/null") == 0 or die "*** inkscape command failure\n";
And changed it to:
`# Create a one-page PDF
sub generate_pdf { my $inkfile = shift; my $outfile = shift; system("inkscape --export-type=pdf --export-filename='$outfile' '$inkfile' 2>/dev/null") == 0 or die "*** inkscape command failure\n";`
@bapsite, thanx for posting the warnings. This was partially fixed in PR#1, where the Inkscape version is checked and the command options altered as necessary. I'll add the above option changes to the next release. I'll leave this issue open until I get that done.
Hey,
I want to thank you for making this software. When I tried to use it, I got an error. This was when it tried to parse an image.
When I looked at the svg file, there was an image tag on line 916.