ScribusGenerator icon indicating copy to clipboard operation
ScribusGenerator copied to clipboard

Link vector/SVG files with Generator

Open SreckoM opened this issue 2 years ago • 5 comments
trafficstars

Scribus Generator does not work with SVG/Vector files beside Image Frame. I can not use Image Frame as it creates much much bigger PDFs. Is this possible to implement or this is thing on Scribus side of development?

SreckoM avatar Jan 24 '23 11:01 SreckoM

Hello @SreckoM

Unfortunately Scribus does a heavy conversion job when importing SVGs. It,s not a plain link to the original file... thus ScribusGenerator doesn't support it.

If you can think of a way to include files (SVG or SLA) per URL that is compatible with the syntax of Scribus files I,d love to read about it, since I,m working a lot with SVG and am a bit sad to lose the vector quality because of raster export needed to be able to create files dynamically... But the final result is acceptable with a high enough raster image resolution (i.e. exporting SVG to an image).

berteh avatar Jan 24 '23 20:01 berteh

I manage to make it work, but with PDFs. So I have one step of converting SVGs to PDFs, but I can than automatize process, plus having them not being rasterized.

SreckoM avatar Jan 24 '23 20:01 SreckoM

From my experience the PDFs get rasterized by Scribus when you include them as images... but I didn't check it out in recent release and that would indeed be an acceptable workaround. Thanks.

berteh avatar Jan 24 '23 20:01 berteh

If you export with this option checked image than it does not rasterize it. Only thing that I did not test is does Generator uses this option.

SreckoM avatar Jan 24 '23 20:01 SreckoM

Great. ScribusGenerator does a full copy of the XML element in the source file, so the 'embed' option should work just fine, that,s great news, thanks!

berteh avatar Jan 24 '23 21:01 berteh