On Thu, Dec 27, 2012 at 11:35 AM, Gordon Messmer <yinyang@xxxxxxxxx> wrote:
On 12/27/2012 06:17 AM, Ranjan Maitra wrote:As others have noted, your ability to do so depends on the specifics of your file, which you haven't shared.
I need to reduce the file size of my PDF in Fedora.
You could use ghostscript to reduce quality (resolution) and size:
http://www.ubuntugeek.com/ubuntu-tiphowto-reduce-adobe-acrobat-file-size-from-command-line.html
You can also try removing embedded fonts. Examples are included here:
http://stackoverflow.com/questions/10450120/optimize-pdf-files-with-ghostscript-or-other
All of ghostscripts options are documenTed here:
http://ghostscript.com/doc/current/Ps2pdf.htm
I have occasionally found that converting to postscript and then back to pdf will result in a smaller file size, particularly when there are images involved. (In my case, lots of receipts mailed to me that were photographed rather than scanned, and then converted to giant .pdfs.)
Doing a pdf2ps filename.pdf (which will result in filename.ps) and then ps2pdf filename.ps newfilename.pdf usually does the trick for me without having to dive into lots of options and flags (though they are available). It's quick and dirty, but gets me what i need most of the time.
-robyn
Finally, you could build pdfsizeopt. There isn't a fedora package, as far as I can tell:
http://code.google.com/p/pdfsizeopt/
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
-- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org