At Home with Tech

Unlock the power of all your technology and learn how to master your photography, computers and smartphone.

Tag: OS X

The Best Way to Compress a PDF

Have you had the time to figure out how to squeeze your PDF to the perfect size in OS X? Here’s the good news… Now, you can check this nagging challenge off your ‘boring-tech-fix’ to-do list!

Have you had the time to figure out how to squeeze your PDF to the perfect size in OS X? Here’s the good news… Now, you can check this nagging challenge off your ‘boring-tech-fix’ to-do list!

Pop quiz: When was the last time you scanned a multipage document into a PDF on your home printer/scanner and then realized the file size was too large to use? It happens to me at least once a month… I find it’s often a problem when you want to upload the PDF online, and there are upload file limits.

Okay… so you just have to compress the file. No problem… right?
Right…..
(Please note touch of sarcasm.)

How to Compress a PDF in ‘Preview’

In the Apple ecosystem, I’ve found the native PDF compression solution remarkably… unintuitive.

That said, here’s how you do it:

Typically, when you click on your PDF, it opens up in ‘Preview.’ From there, you’ve got two choices:

Export
Go to ‘File’ on the top menu bar and look for ‘Export.’

  • Click on ‘Export.’
  • Make sure ‘Format’ is set to ‘PDF.’
  • Then under ‘Quartz Filter,’ choose ‘Reduce File Size.’
  • And then save as you normally would.

Easy… right?
Yes… but the new file that gets created looks… terrible… barely readable. Sure the file is certainly compressed, but if there’s any small text to read, it’s mostly unrecognizable.

The good news is Apple offers a second method…

Print
That’s right… you’re going to ‘print’ your PDF into a compressed file.
(Don’t ask questions!)

Go to ‘File’ on the top bar and look for ‘Print.’

  • Click on ‘Print.’
  • On the bottom left of the ‘Print’ menu, you’ll see a PDF drop-down box.
  • Click on ‘Compress PDF.’
  • Then save as you normally would.

This method creates a larger compressed file than the ‘Export’ route, and as it turns out… the resulting file looks really good.

So if the new PDF is small enough for your needs… you’re done.

For the record, this ‘Print’ method took a 5.7MB five-page PDF down to 1.5MB.
(The ‘Export’ method crunched my file all the way down to a mushy 451KB.)

But what if you want something in between the massive compression of ‘Export/Reduce File Size’ and the heftier PDFs created by ‘Print/Compress PDF?’

Use Adobe Only as a Paid Solution
If you think using Adobe Reader can help you, don’t bother. You’ve got to pay Adobe to help you with compression.
(Adobe Acrobat)

As it turns out, there are other third-party solutions… and some are free. But I’m not interested in MacGyvering this problem. I’m intentionally limiting today’s exercise to the native software that’s already living on my otherwise wonderful Mac.
(There’s got to be a way!)

ColorSync Utility to the Rescue
And, in fact, there is…

The trick is to create a new compression profile using your native ‘ColorSync’ utility. You can duplicate Apple’s standard ‘Reduce File Size’ filter there and easily tinker with the settings of your new filter.

Here’s how:

  • Open ‘ColorSync Utility,’ which typically lives in Applications/Utilities.
  • Click on ‘Reduce File Size.’
  • When you open up ‘Image Sampling’ and ‘Image Compression,’ you’ll see the main profile is all locked up.
  • So click on little upside-down triangle to the right and then click on ‘Duplicate Filter.’
  • This is the step that creates your own personal filter copy. Now you can monkey around to your heart’s content!

Here are the tweaks I added:
(Although there are an almost infinite number of variations you can apply)

  • I increased ‘Scale’ from 50% to 75%.
  • Then, I increased ‘Max Pixels’ from 512 to 1280.
    (I borrowed these setting suggestions from meyerweb.com.)

Voilà… you’ve just created your own custom Quartz filter!

  • Next, simply open up your original PDF with ColorSync.
    (Use the ‘Open With’ drop down.)
  • Go to the bottom left drop-down ‘Filter’ menu.
  • Select your new custom filter.
  • Click ‘Apply.’
  • Save as you normally would.

Bam!

This new ‘Barrett Compression Setting’ got my 5.7MB PDF down to 900KB…right in the sweet spot between the other two. And the compressed file looked almost as good as the 1.5MB compression…

And that’s all I really needed!

Don’t Forget
So there you have it… two prefab methods and a hidden path to cook up your own compression settings in the OS X environment.

It’s worth noting that much of the online chatter on this topic is years old… so I’m a little late to the party… But on the other hand, what average person is supposed to have this kind of detail readily accessible at their fingertips?
(I hope this post helps.)

In an age where your computer is getting smarter by the minute, shouldn’t a simple compress command with several size settings be readily accessible?

…Just saying.

Give your Computer the Gift of Updated Software

“Less than a minute remaining” is the most excruciating message ever invented by software developers. I think the phrase actually makes time slow down. In this moment, your Mavericks OS X upgrade is so close… yet still so far away. Here are three recommended steps to help you get your computer to the finish line…

“Less than a minute remaining” is the most excruciating message ever invented by software developers. I think the phrase actually makes time slow down. In this moment, your Mavericks OS X upgrade is so close… yet still so far away. Here are three recommended steps to help you get your computer to the finish line…

There’s a battle waging deep within your mind.
You may not be aware of it, but subconsciously… it’s always there.

To Update or Not to Update…
Almost every day it seems, your computer prompts you to update its software arsenal.

Some are small updates.
Others are game changers.

But you’ve always got a choice to make.
And the opportunity to update to the latest and greatest carries both a blessing and a curse.

Advantage: Your computer should work better than ever.
You’ve got the best chance for all your software to play nicely on your desktop if every piece is up to date. You generally tend to have problems when you run into ‘compatibility’ issues.

Risk: Your computer ‘blows up.’
Face it… you’re doing brain surgery on your computer.
Sometimes it’s minor.
Occasionally, you’re updating the whole operating system.
Either way, you’re messing with your computer’s noggin.

“It’s Amazing How Productive Doing Nothing Can Be.”
You’ve probably wandered about this thought matrix before:
If it ‘ain’t’ broke, why fix it?
(The above quote from TRON: Legacy says it all.)

And to be frank, the fear of update glitches causing catastrophic computer failure regularly prevents me from going for the update.

And who really ever has ‘the time’ to handle that stressful moment when your computer suddenly goes dark?
(To reduce those odds, it’s always wise to wait a few weeks after significant software updates come out. Let the ‘early adopters’ identify the bugs…)

But sticking your head in the digital sand only works for so long before you realize you’re two operating systems back, and you’ve been fooling yourself that your computer isn’t sluggish.

You can delay your software updates… but only for so long.
The alternative is ultimately computer obsolesce.

Usually something compels you to finally take the plunge on the big software updates.

Finding my Inner Maverick to Upgrade to Mavericks
For me, my Mavericks moment arrived rather suddenly when I tried to update my sluggish Aperture photo editing software, but couldn’t because it required the power of Mavericks.

It was time to welcome in OS X 10.9.
(Buckle up!)

The Saturday Morning Gauntlet
If you’ve got a few spare hours over a weekend to be your computer’s wingman, it’s the perfect opportunity to face this gauntlet together.
(Just make sure an Apple Store is within rescue distance…)

And you’re going to want to nurse your computer through its brain surgery.
So it didn’t hurt when I became housebound this past weekend due to the season’s first snowstorm.

Three Steps to Prepare Your Computer for its Software Update

There are a variety of websites offering step-by-step instructions on how to prepare for an OS upgrade such as.

While they provide an exhaustive list on every step possible to ensure success, it can all become a bit overwhelming.
The complex series of precautions add fuel to the argument of doing nothing at all.

Honestly, I found it too daunting a process to follow every safety suggestion.
(I hope that didn’t anger the tech gods.)

That said, here are three steps I always follow:

  1. Upgrade all your current software via the Software Update utility before taking any big leaps forward.
    (It’s the last time you will use it. In Mavericks, updates are done via the Apple App Store.)
  2. Back everything up on your computer. (Yes, this always bears repeating.)
    I use Time Machine locally with an external hard drive and Backblaze to the Cloud.
  3. Then do some system maintenance in Disk Utility.
    Click on Repair Disk Permissions and Verify Disk to make sure your Mac is healthy enough for its upcoming operation.

Diary of a Nervous Tech Blogger
11:46am: The upgrade begins. Download Mavericks from the App Store.
(Note: I’m working with a 2010 iMac with 2.93 GHz Intel Core i7 processor and 4 GB of RAM.)

12:34pm: Return after snowball fight in my driveway with my three-year-old son. (He wins.)

12:42pm: Official installation begins. Looks like a 44-minute process…
(Go have lunch with the family.)

1:42pm: “Less than one minute remains.”

1:52pm: “Less than one minute remains.”

1:55pm: Look for paper bag to hyperventilate into.

1:59pm: Computer takes pity and moves on to the next screen.

2:15pm: Installation completes. iMac reboots and proudly display’s its new ocean world.
(Apparently ‘galaxies’ are so yesterday.)

2:18pm: Computer complains that I’m missing Java and asks if I want to download the latest version.

“Yes, please.”

2:20pm: Check for more recent software updates for Mavericks.
Only find updates for Mail and iBooks.

2:25pm: Try printing a photo.
-WARNING-
Uh oh! Suddenly, my printer permissions are installed incorrectly!
iMac politely asks if I’d like to fix them.

“Yes, please.”

2:45pm: Successfully upgrade to Aperture 3.5.1.

3:00pm: Blood pressure returns to normal.

The Perfect Gift for the Pseudo Sentient
I’m proud to report that Mavericks has been humming along just fine.
And yes, Aperture does seem to act a little zippier now.
I’d label this little weekend tech project a success.

Half way through the upgrade, I did wonder how my blog post would fare if I had to spend the rest of the weekend trying to breathe life back into my iMac.
Not sure what it would say if my 100th post didn’t make it to the finish line.
(I know life would somehow go on…)

So in this holiday season of giving, why not give a little love to the most important pseudo-sentient entity in your life.

In all the excitement of celebration, just be careful not to spill your cup of Joe on it!