Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link vector/SVG files with Generator #207

Open
SreckoM opened this issue Jan 24, 2023 · 5 comments
Open

Link vector/SVG files with Generator #207

SreckoM opened this issue Jan 24, 2023 · 5 comments

Comments

@SreckoM
Copy link

SreckoM commented Jan 24, 2023

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?

@berteh
Copy link
Owner

berteh commented Jan 24, 2023

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).

@SreckoM
Copy link
Author

SreckoM commented Jan 24, 2023

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.

@berteh
Copy link
Owner

berteh commented Jan 24, 2023

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.

@SreckoM
Copy link
Author

SreckoM commented Jan 24, 2023

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.

@berteh
Copy link
Owner

berteh commented Jan 24, 2023

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants