SVG images

Post Reply
ConquestUser
Newbie
Posts: 19
Joined: Thu Aug 11, 2022 3:05 pm

SVG images

Post by ConquestUser »

I've asked this question in here before but it's been a while and I wanted to see if anybody has come up with anything since. I'd like to take a .svg that I get from Amazon and create a pdf from it. The problem is everything either opens it with a mask over it and off-center or opens it at the wrong size. Anybody have any experience with Amazon files being .svg and converting to pdf.

Thanks,
Bruce
User avatar
magnussandstrom
Advanced member
Posts: 510
Joined: Thu Jul 30, 2020 6:34 pm
Location: Sweden
Contact:

Re: SVG images

Post by magnussandstrom »

We could probably help out if you could provide a sample file.
freddyp
Advanced member
Posts: 1129
Joined: Thu Feb 09, 2012 3:53 pm

Re: SVG images

Post by freddyp »

SVG does not have a page size like PDF has, so a tool that converts SVG to PDF will have to "invent" something. The most obvious choice would be to take the bounding box of all the elements, but the easiest choice is to leave it to the user to specify a size and/or to use a default. Which tool do you use and does it have options to influence how the page size is determined?

You can use PitStop Server to set the page boxes to the bounding box of the objects in the file.
loicaigon
Advanced member
Posts: 631
Joined: Wed Jul 10, 2013 10:22 am

Re: SVG images

Post by loicaigon »

How frequent is the need for such conversion? We could consider adding the opportunity to accept SVG as input for PitStop Server if we have a good demand for this.

So I can only say: "My Enfocus > PitStop > Feature Requests"

🙂
Loïc Aigon
Enfocus PitStop Manager
User avatar
magnussandstrom
Advanced member
Posts: 510
Joined: Thu Jul 30, 2020 6:34 pm
Location: Sweden
Contact:

Re: SVG images

Post by magnussandstrom »

You can use Inkscape with Switch to convert SVG to PDF.

1. Install Inkscape 1.4.2 (https://inkscape.org/release/1.4.2/windows/)
2. Install the free Switch app Run Command
3. Use this command in the Command-property of the Run Command app:

C:\insert-your-path-to-inkscape-here\inkscape.exe "%%InputFilePath%%" --export-type=pdf --export-filename="[Job.NameProper].pdf"
ConquestUser
Newbie
Posts: 19
Joined: Thu Aug 11, 2022 3:05 pm

Re: SVG images

Post by ConquestUser »

We use this daily on hundreds of images.
Thanks!
Post Reply