0:04
uh hello guys welcome to this live
0:06
stream So in this live stream I will
0:07
show you a PDF compressor uh web
0:10
application that I developed directly in
0:12
the browser and uh it's built entirely
0:17
inside HTML CSS and JavaScript So this
0:20
is the demo of the application So as you
0:22
can see we are running it on our local
0:25
host and it's a simple static
0:28
application It doesn't require any
0:30
serverside code So here you will select
0:33
your PDF file that you want to compress
0:37
So let me just select any PDF file here
0:40
As soon as you select the PDF file guys
0:42
you will see you will have a lot of
0:46
So it will show you the original size of
0:48
the PDF which is 2.96 kilobyte And here
0:52
it will have what sort of compression
0:55
you want to do light compression
0:57
standard compression high compression or
0:59
you can even manipulate custom settings
1:02
as well So you can actually control the
1:06
quality of each image by using these
1:08
sliders By default it is set to 75% but
1:11
I can change this as well to reduce the
1:14
size of PDF And then we got this image
1:18
resolution which is your DPI value So
1:20
you can even do that as well and remove
1:23
meta metadata optimize phones remove
1:25
annotations compress stream So you can
1:28
have more all these options So if I
1:31
select here high compression click on
1:33
compress PDF So now the compression will
1:36
take place entirely in the browser As
1:38
this is a small PDF file so it will show
1:40
you the result here 2.96 was the
1:43
original size So it reduced to 2.55
1:46
kilobyte size reduction compression
1:49
ratio everything So now you can download
1:51
your output file So it just contains two
1:54
pages So that's why there was nothing to
1:57
compress in this file But if you have a
2:00
large file large PDF file then which
2:02
contains a lot of images and also some
2:06
more assets than it can reduce
2:10
So I built this tool entirely using this
2:13
open-source library which is PDF lip As
2:15
you can see this is the entirety of the
2:18
source code If you need the full source
2:20
code guys the link is given in the
2:22
description You can uh purchase the full
2:25
source code You can check out all the
2:26
payment links So once you purchase it
2:29
you will get this automatically from
2:31
Google Drive once the payment is done So
2:34
this is the index.html HTML file you
2:36
will get here and you can easily run
2:38
this project inside your VS code just
2:41
opening local host right here and then
2:44
this is your ultimate PDF compressor
2:47
which will compress so let's suppose I
2:50
select a different PDF now the size is
2:53
168.49 49 kilobyte it contains a lot
2:58
So let's suppose again if I say high
3:02
again it will compress and now you will
3:05
see 168 it reduce to 142 size reduction
3:10
15% So it def it depends upon PDF to PDF
3:14
file If your PDF contains a lot of
3:19
compress him You can see now it contains
3:21
23 pages So that's why it reduced it
3:25
from 168 to 142 So PDFs can be a large
3:29
size So it is a problem to reduce the
3:32
size But this application solves all
3:35
your problems So it directly runs in the
3:38
browser itself So no serverside code is
3:40
involved So this is just a single HTML
3:43
file that you will be needing here So
3:46
once you get the source code you can see
3:47
how I built this application and easily
3:49
modify the source code as well So the
3:51
link is given in the description and uh
3:55
you can also manipulate image quality
3:58
you can reduce the DPI level remove all
4:05
Again you can just play with all these
4:07
options just to see how much reduction
4:09
it is possible So we also have light
4:15
So if you don't want to do
4:17
standard compression as well So it
4:19
depends upon PDF to PDF So
4:24
after that you can download here You can
4:26
see that your compressed PDF which is
4:29
around about 143 original size was 168
4:33
So in this easy way this is the PDF
4:37
compressor which directly runs in the
4:39
browser So if you are interested guys
4:42
you can directly purchase the full
4:43
source code and thank you very much for