LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-09-2015, 01:49 AM   #1
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,657

Rep: Reputation: 255Reputation: 255Reputation: 255
Reducing the size of a PDF to 90 DPI ?


Hello,

I have a bit PDF of 30-35 MB, and I would like to reprint it to 90 DPI. Would you have a bash command?

regards
thank you
 
Old 03-09-2015, 01:51 AM   #2
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
I don't have a bash command for that but I have used this site to compress pdf few times: https://www.pdfcompress.com/
 
Old 03-09-2015, 12:27 PM   #3
Ruhpolding
LQ Newbie
 
Registered: Mar 2015
Location: Ruhpolding, Bavaria, Germany
Posts: 5

Rep: Reputation: Disabled
Using ghostscript, you could take

Code:
$ gs -dBATCH -dSAFER -dNOPAUSE -q -sDEVICE=pdfwrite\
   -dCompatibilityLevel=1.3 -sPAPERSIZE=a4 -dPDFSETTINGS=/screen\
   -sOutputFile=output.pdf input.pdf
as a starting point. The option /screen stands for a low resolution. Other options are /printer, /prepress and /ebook.
 
Old 03-09-2015, 10:51 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
what is the content of the pdf?
all text
or a mix of text and jpg's ( svg's will reduce better )

if text 90 dpi will be hard to read if printed
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Reducing LVM partition size geekslinux Linux - Server 9 01-29-2014 10:49 PM
TIP: Reducing PDF file size from the command line with GhostScript (gs) ShellyCat Linux - Newbie 3 07-12-2012 04:11 AM
Reducing size in LVM SBN Linux - General 8 07-28-2009 06:30 AM
Reducing Debian Installation Size??? kushalkoolwal Debian 18 08-15-2005 01:58 PM
Reducing kernel size Kholnuu Slackware 6 01-22-2005 02:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration