Mrrrr's Forum (VIEW ONLY)
Un forum care ofera solutii pentru unele probleme legate in general de PC. Pe langa solutii, aici puteti gasi si alte lucruri interesante // A forum that offers solutions to some PC related issues. Besides these, here you can find more interesting stuff.
Lista Forumurilor Pe Tematici
Mrrrr's Forum (VIEW ONLY) | Reguli | Inregistrare | Login

POZE MRRRR'S FORUM (VIEW ONLY)

Nu sunteti logat.
Nou pe simpatie:
pisi_dulce 25 ani
Femeie
25 ani
Maramures
cauta Barbat
28 - 57 ani
Mrrrr's Forum (VIEW ONLY) / Tutoriale si Ghiduri Utile // Tutorials and useful guides / [PDF] Audit Images Inside a PDF File Moderat de TRaP, TonyTzu
Autor
Mesaj Pagini: 1
TRaP
Moderator

Inregistrat: acum 8 ani
Postari: 904
I have a PDF that is unnaturally big considering it is a Word file simply converted to PDF and contains text not scans. However it's size is almost 15 MB instead of ~8-10 MB as I would expect it to be. I am looking to make the PDF smaller than 10 MB so I can upload on a site where this size is the limit.

Images inside are already compressed in Word before conversion to PDF, so it must be something else.

I used Poppler to audit the images inside my pdf file:

Extracted Poppler and opened CMD window inside the poppler-25.12.0\Library\bin folder.

Command line used to view the list of images with location (page in PDF) and characteristics directly inside the CMD window:

pdfimages -list "FULL PATH TO MY PDF FILE"

Returned a list of 200 images (I have header on every page so that explains most of them).

Command line used to extract images to a desired folder for easier identification and further compression of the large image/s:

pdfimages -all "FULL PATH TO PDF FILE" "D:\Temp\img"

Note that the img is not a folder, but the first part of the name of the image files (e.g., images are saved as "img-001", "img-002" etc inside D:\Temp folder

Found the culprit - a 7 MB image (scanned page). It was 1000 mm wide where my pages are in Letter format (~280 mm wide).
Used IrfanView to save as PDF in Letter format with 95 JPEG Quality and got 1,6 MB instead.
Now my entire 300+ pages PDF fits under 10 MB which is what my goal was.


pus acum 2 saptamani
   
Pagini: 1  

Mergi la