Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Alternative Operating Systems > "Reduce file size" filter on Linux

"Reduce file size" filter on Linux
Thread Tools
wataru
Addicted to MacNN
Join Date: Oct 2001
Location: Yokohama, Japan
Status: Offline
Reply With Quote
Jan 22, 2008, 02:02 AM
 
You know that (Quartz? ColorSync?) filter, for instance when you Save As in Preview, that lets you "reduce file size"? I'd really love to be able to do that in Linux or Windows, rather than taking all my PDFs home to shrink them. Does anyone know how to do this?

Specifically, the filter seems to be doing the following:
1. reducing the resolution of embedded images to close-to-screen-density, i.e. around 120ppi (good for web, bad for print),
2. throwing away unnecessary data in the PDF (invisible items, items completely hidden behind other items), and
3. doing all this while leaving the vector data (text, shapes, etc.) untouched (not rasterized).

I've figured out how to change the "density" of a PDF using ImageMagick, but that destroys the vector data. Other utilities that deal with "PDF compression" simply use the PDF format's built-in data compression, which doesn't help all that much.

In case it matters, I specifically need to reduce the size of the mammoth PDFs output by Inkscape. Even just re-saving the PDF with Preview can take a 50MB file down to around 5MB or less. Using "reduce file size" can then get that down to less than 1MB. Clearly Inkscape's PDF output is not optimal; if anyone knows a better way of doing this please let me know.
     
   
 
Forum Links
Forum 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
Top
Privacy Policy
All times are GMT -4. The time now is 05:36 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,