Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > PDF

Notices

Reply
 
Thread Tools Search this Thread
Old 11-22-2021, 11:53 PM   #1
rupeshforu3
Junior Member
rupeshforu3 will become famous soon enoughrupeshforu3 will become famous soon enoughrupeshforu3 will become famous soon enoughrupeshforu3 will become famous soon enoughrupeshforu3 will become famous soon enoughrupeshforu3 will become famous soon enough
 
Posts: 4
Karma: 564
Join Date: Nov 2017
Device: lenovo a3000
How to compress pdf file which contains high resolution images.

Hi I am Rupesh from India and I have an android tablet and an Acrobat reader and a PDF file. I have tried to open it in Acrobat reader and failed to load even after 10 minutes but I have copied the above file to PC and tried to open it in Acrobat reader and it has been successfully loaded.

I have extracted the images of the above pdf file to 427 jpeg files. Surprisingly the resulted folder size is 1.2 GB and the PDF file size is 54 mb only. After that I have seen the properties of one jpeg file and it is 3.5 mb with 2048\* resolution.

I think that the tablet consists of processor with lower resources and the system processor has higher resources. So the above mentioned pdf file is unable to load in the tablet.

I have opened a number of pdf files in my tablet and everything worked fine except this.*

I have tried to compress the pdf file using ghost script guis like densify and workerpdf using options like ebook, screen, pre press etc.,. and unfortunately all of the resulting output files are above 150 mb.

After that I have compressed the 427 jpeg files using ffmpeg gui tool called format factory and the resulted folder size is 250 mb. I have even created pdf using a tool called ilovepdf by selecting all of the compressed jpeg files. Unfortunately the resulted output pdf file is 250 mb.*

Can anyone of you suggest how to compress the pdf file by internally compressing the images present in the pdf file.*

Regards
Rupesh.
rupeshforu3 is offline   Reply With Quote
Old 11-23-2021, 11:11 AM   #2
jhowell
Wizard
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 4,836
Karma: 46436825
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Oasis 2, Fire, iPad Air 2, Nexus 7
You could split the PDF into two or more files each with a subset of pages.
jhowell is offline   Reply With Quote
Advert
Old 11-23-2021, 12:53 PM   #3
rupeshforu3
Junior Member
rupeshforu3 will become famous soon enoughrupeshforu3 will become famous soon enoughrupeshforu3 will become famous soon enoughrupeshforu3 will become famous soon enoughrupeshforu3 will become famous soon enoughrupeshforu3 will become famous soon enough
 
Posts: 4
Karma: 564
Join Date: Nov 2017
Device: lenovo a3000
I have tried to convert and compress pdf file in various apps like ghost script, Nitro pdf, Acrobat reader dc etc.,.

Unfortunately all the resulted pdf files are greater than 150 mb.

After that I have copied resulted pdf files to my Lenovo tab and fortunately all are working on my tablet.

Sent from my LM-G710 using Tapatalk
rupeshforu3 is offline   Reply With Quote
Old 11-23-2021, 07:29 PM   #4
Critteranne
Fanatic
Critteranne ought to be getting tired of karma fortunes by now.Critteranne ought to be getting tired of karma fortunes by now.Critteranne ought to be getting tired of karma fortunes by now.Critteranne ought to be getting tired of karma fortunes by now.Critteranne ought to be getting tired of karma fortunes by now.Critteranne ought to be getting tired of karma fortunes by now.Critteranne ought to be getting tired of karma fortunes by now.Critteranne ought to be getting tired of karma fortunes by now.Critteranne ought to be getting tired of karma fortunes by now.Critteranne ought to be getting tired of karma fortunes by now.Critteranne ought to be getting tired of karma fortunes by now.
 
Critteranne's Avatar
 
Posts: 534
Karma: 17723526
Join Date: Mar 2009
Location: MD
Device: Kindle, iPad
Adobe has a tool that lets you compress PDFs for free online. But you will have to save the file to the Adobe Document Cloud and agree to terms of use, etc.

https://www.adobe.com/acrobat/online/compress-pdf.html

With Adobe Pro, the Optimize feature might work, but that costs a lot of money. I think even the free version of Adobe Acrobat DC doesn't have free compression.

Gizmo's Best suggests some free PDF tools, including software that does compression:
https://www.techsupportalert.com/bes...ght=compressor
Critteranne is offline   Reply With Quote
Old 11-24-2021, 09:03 PM   #5
willus
Fuzzball, the purple cat
willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.
 
willus's Avatar
 
Posts: 1,184
Karma: 9900210
Join Date: Jun 2011
Location: California
Device: iPad
Quote:
Originally Posted by rupeshforu3 View Post
Can anyone of you suggest how to compress the pdf file by internally compressing the images present in the pdf file.
It is unclear what will give you the best reading experience on your tablet and/or what you want to do. I'm guessing the issue is that your PDF uses JPX compression which is notoriously CPU intensive to render. In that case, simply converting to JPEG or Flate compressions may be all you need, but it will make the file much larger, as you have discovered.

Did you want to actually change the resolution of the PDF images in your document so that they have fewer pixels? You can use k2pdfopt to do that:

k2pdfopt myfile.pdf -mode copy -dpi 200 -o outfile.pdf
(This will change every page of your PDF to a bitmap image at 200 dpi but will retain text searchability if your document has text.)

You can adjust the dpi to whatever suits you. 200 is usually reasonable. This will default to Flate compression (aka PNG). If you want to use JPEG compression instead of PNG, you can add this option:

-jpg <quality> (where quality = 1 to 100 specifies the JPEG quality)

You can use k2pdfopt with the -i option to see what compression is being used on the images in your PDF (or from the GUI, select "PDF File Info" from the help menu).

Last edited by willus; 11-24-2021 at 09:06 PM.
willus is offline   Reply With Quote
Advert
Old 11-25-2021, 08:29 AM   #6
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 3,949
Karma: 35999162
Join Date: Jun 2017
Location: Ireland
Device: Both Kinds: epub based makes and Kindle
Also try Xodo to read pdfs on Android. I've used it on several Lenovo and slow generic tablets with huge files. I have a 256 G SD card.
Quoth is offline   Reply With Quote
Old 11-26-2021, 11:34 AM   #7
rupeshforu3
Junior Member
rupeshforu3 will become famous soon enoughrupeshforu3 will become famous soon enoughrupeshforu3 will become famous soon enoughrupeshforu3 will become famous soon enoughrupeshforu3 will become famous soon enoughrupeshforu3 will become famous soon enough
 
Posts: 4
Karma: 564
Join Date: Nov 2017
Device: lenovo a3000
I have opened the pdf file in k2pdfopt and after that I have seen the properties of the file and it is showing images as jpx with maximum resolution as 1025*1538.

How to know the dpi of images.

Sent from my LM-G710 using Tapatalk
rupeshforu3 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Compress images endemion06463 Conversion 10 09-25-2021 06:14 PM
Compress images losslessly jlynton Calibre 9 04-21-2021 05:16 PM
Is there any way to get Calibre to send the high resolution cover images to device? Arainais Devices 5 08-27-2011 08:38 AM


All times are GMT -4. The time now is 04:57 AM.


MobileRead.com is a privately owned, operated and funded community.