Re: reducing PDF file size in Fedora

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Thu, Dec 27, 2012 at 11:35 AM, Gordon Messmer <yinyang@xxxxxxxxx> wrote:
On 12/27/2012 06:17 AM, Ranjan Maitra wrote:
I need to reduce the file size of my PDF in Fedora.

As others have noted, your ability to do so depends on the specifics of your file, which you haven't shared.

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
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux