0:00
uh hello guys uh welcome to this video
0:02
so in this video I will show you a
0:04
NodeJS uh command line utility which
0:07
actually allows you to convert uh uh
0:10
scalable vector graphics which is SVG
0:12
documents into directly PDF so this is
0:14
actually the module here uh
0:20
CLI so it actually works in the command
0:23
line itself you can directly use it in
0:27
interface so you can see this is
0:30
actually the command here npmi SVG to
0:35
uh - C cli so what we can do uh you can
0:45
this so I've already installed it so
0:47
just execute this command
0:50
npm-g2 ptf- cli so you should have
0:54
NodeJS installed and npm installed on
0:56
your computer and just execute this
0:58
command and it will hardly take 5 to 10
1:01
seconds and it will install this package
1:03
uh globally install your
1:05
system and then it actually provides you
1:09
with a single command which you can use
1:11
it to convert your SVG documents
1:16
PDF so you can see the command is now
1:24
SVG to PDFs and then in my current
1:28
directory you will see this SVG file is
1:31
present here car do SVG so if I want to
1:34
convert this so I simply write the input
1:37
file name which is car SVG and then the
1:40
output file name so this is actually the
1:43
command here uh you execute this command
1:45
right here and if you see on the left
1:48
hand side it will convert this SVG file
1:51
into this PDF file so it created this
1:53
car dot PDF file right
1:58
see it actually converted this SVG file
2:03
to the PDF here so it's slowly but
2:05
steadily it converted everything so this
2:07
is your car SVG and this is your car dot
2:11
PDF so if I show you open this in the
2:14
browser so it looks something like this
2:17
you will see the quality of the SVG is
2:20
here so this library works it very much
2:24
well let me show you a different file
2:27
here so this is again a different file
2:30
so again you will just replace the file
2:37
so so just execute this command so it
2:40
will it's very quick as well it just
2:43
took uh two 2 seconds to
2:46
convert so it takes very less time to
2:49
convert your SVG file to PDF so you can
2:52
use this command line utility of NodeJS
2:54
which directly provides you with a
2:56
single command to convert the SVG into
2:58
PDF so just install this module globally
3:01
by first of all installing it this
3:04
command here dash g and then you can
3:08
carry out the conversion of SVG into PDF
3:11
so this was the module uh you can
3:13
directly use it uh thank you very much
3:15
for watching this video also check out
3:17
my website freemediattools.com
3:20
uh which contains thousands of tools
3:22
regarding audio video and image