0:00
Uh hello guys, in this video I'll show
0:02
you a web application that I developed
0:05
which allows you to convert your PDF
0:08
into images. It can be PNG or JPG. So it
0:12
converts all the PDF document pages. So
0:15
I've deployed this application on my
0:17
website. I've also given the demo link.
0:20
So please check the full description. So
0:22
once you land on this web application,
0:24
you basically select whichever PDF file
0:26
that you want to select. So here you
0:30
first of all select a PDF file. Then all
0:32
the pages will automatically get loaded.
0:34
As you can see you will get this
0:35
notification and right here you can
0:38
select the output format PNG or JPG
0:42
and then here from the slider you can
0:44
even control the quality of the images
0:46
scale factor you can even control that
0:48
as well. So then you click convert to
0:50
images and one by one the application
0:53
will process all the pages of PDF and
0:56
then it will show one by one by page
1:01
For every page we have a download
1:03
button. So individually you can click
1:09
this page of the PDF to a image file.
1:12
You can export this. So you can just see
1:13
the quality of the page is successfully
1:16
exported to an image file. So this
1:18
application that I developed entirely in
1:20
HTML, CSS and JavaScript, I have given
1:23
the link to purchase a source code. So
1:26
once you purchase it, you will
1:28
automatically get the source code from
1:29
Google drive. This will be the index
1:31
html file you will get and uh this is
1:34
round about about 500 lines of code. So
1:39
this is very easy to open and deploy
1:42
this as well. Simply open VS code and
1:45
directly open it in local host. So now
1:47
we are running it on local host. It's
1:49
very simple. Again you repeat the
1:51
process. You actually select a PDF file.
1:56
So we'll get this notification. Click
1:59
convert to images and one by one using
2:05
And it's a nice thing about this
2:07
application. It's single page
2:09
application which directly runs in the
2:11
browser. No serverside processing is
2:13
involved. So it's really fast, easy to
2:16
deploy as well. And for this we have
2:20
used a third party library which is open
2:22
source. Mosilla PDFJS library which is a
2:26
really handy library. So if you just
2:29
search here Mozilla PDFJS.
2:34
related library for JavaScript for
2:37
browser. So this is their homepage. So
2:40
we have used this library for this
2:47
so I've given both the links. You can
2:49
try out the demo before purchasing it.
2:53
you can even change the extension to
2:55
JPG. Again, you click convert to images.
2:58
And now instead of PNG, we will have
3:07
So there is also a button here which
3:09
allows you to export all the images in
3:12
one go. So if you click this button a
3:14
zip file will be created. So
3:16
automatically all the images will be
3:18
downloaded one by one. So as you can see
3:23
so you can just click one button and it
3:25
will export all the pages to a image
3:27
file. So this is a really handy
3:30
application PDF to images generator and
3:33
converter directly in browser.