How to extract Preview's signatures for use in other applications

Apple's Preview program in OS X is great for capturing signatures, but by default these can only be used with Preview; however, there is a workaround to extract and them for use elsewhere.

The Preview application in OS X has an excellent option for capturing handwritten signatures and inserting them into PDF documents. This is great for signing forms, letters, and other items that require a signature. The process for doing so simply involves capturing a written signature with a Web cam, after which you can append them to any PDF document open in Preview.

Signatures that you associate with Preview in this manner are stored in an encrypted form, which is great for security but also means that Preview is the only program that can access them. Even though an inserted signature is resizable and can be moved around in the given PDF document, you cannot copy it or a selection that contains it from Preview to another program.

One solution to this is to simply scan your signature in and save it as an image, but this requires you have a scanner handy. However, there is a workaround you can use that will allow you to capture any signature from Preview and save it as an image file with proper transparencies that you can use in other applications.

First be sure you have a signature captured and stored in Preview, which can be done by following the instructions provided by CNET's Jason Cipriani , then perform the following steps:

  1. Open a text editor such as TextEdit, Pages, or Word, and create a new blank document.
  2. Press Command-P to print the blank document and choose "Open PDF in Preview" from the small PDF menu in the lower left.
  3. Print to PDF
    Printing a blank document to Preview as a PDF can be done in the PDF menu. Screenshot by Topher Kessler/CNET
  4. Enable Preview's Edit toolbar (press Shift-Command-A), and use the Signature tool to add a signature to the document.
  5. Expand the signature size to be relatively large (the larger the better, which can also be done by zooming in on your document and expanding its window size).
  6. Press Shift-Control-Command-4 to enter selection-screenshot mode (your mouse cursor will turn into a crosshair), and drag a selection around your signature (when you release the mouse you should hear a camera click).
  7. Selection Screenshot in OS X
    When you take a selection-screenshot of the signature, the mouse cursor, which above appears as an arrow, will change to look like a crosshair. Screenshot by Topher Kessler/CNET
  8. Ensure Preview is the foremost application and press Command-N to create a new image file from the screenshot.
  9. Enable Preview's Edit toolbar again, and select the Instant Alpha tool (it looks like a little wand).
  10. Click the white area around the signature and drag your cursor away from where you click. When you do this the white area will turn pink, but keep dragging until you do not see any more white around the characters of your signature. If the characters themselves show a pink hue then you have dragged too far so back off a little until they turn black again, followed by releasing the mouse button.
  11. Instant Alpha in Preview
    The white area selected will turn pink, which when deleted will turn transparent. Be sure to include any encased white spaces as well (such as that in the Screenshot by Topher Kessler/CNET
  12. Press the delete key, and your signature should now be on a transparent background indicated by a checkerboard pattern.

Save the image in a format that supports an alpha channel (PNG, JPEG-2000, or TIFF), and ensure this channel is enabled in the Save dialogue box so the transparency is preserved.

Transparent results after instant alpha
When finished, the checker board pattern indicates transparency. Screenshot by Topher Kessler/CNET

There you have it. You should then be able to import the signature into any program that supports the formats you saved it in. Do keep in mind that, unlike Preview's signature management, this is not an encrypted storage of your signature; however, you can save it in an encrypted disk image, or keep FileVault enabled on your Mac so all files including the signature are encrypted when your system is shut down.



Questions? Comments? Have a fix? Post them below or e-mail us!
Be sure to check us out on Twitter and the CNET Mac forums.

About the author

    Topher, an avid Mac user for the past 15 years, has been a contributing author to MacFixIt since the spring of 2008. One of his passions is troubleshooting Mac problems and making the best use of Macs and Apple hardware at home and in the workplace.

     

    Join the discussion

    Conversation powered by Livefyre

    Don't Miss
    Hot Products
    Trending on CNET

    HOT ON CNET

    Want affordable gadgets for your student?

    Everyday finds that will make students' lives easier: chargers, cables, headphones, and even a bona fide gadget or two!