Home

How To Add "Convert to JPG" To Mac's Context Menu

Comments | Duane Craig, BYTE | August 02, 2011 02:30 PM

Category: Operating systems, Desktop PCs

BYTE -- I found a great way to convert Mac-native PNG files and other image types (including PICT, TIFF, BMP, GIF, JPEG2 and single page PDFs, among others) into JPEG. Here's how to add the item Convert to JPG to the Context menu on the Mac.

First, open Automator by selecting it from the Finder Applications window. Click on the Go dropdown. Select Applications.


Click on Automator.app.


Select the Service template from the template dialog box that opens. You also can access this via File>New. Click Service.


At the top of the window, select Image Files from the Service Receives Selected Drop Down menu. Then select Show Library at the upper left corner.


Click Photos in the left Library Pane. Select and drag Change Type of Images from the right Library pane to the workflow space.


Once you release the Change Type of Images library item, a dialog will ask if you want to preserve your originals. I say do it. Click Add.


Now under Copy Finder Items, select JPEG from the Desktop dropdown menu on the Copy Finder Items window.


At the top of your screen, click Save from the Automator File Menu.


Type in a short name for the service you just created. I typed JPG Convert. Click Save.


You did it. Now whenever you select an image file and right click on it, you'll have the menu item there for easy conversions of most popular file formats to JPG. The new file will show up on your desktop. Note: The example above shows applying the service to a picture on the desktop, but you can also apply it to pictures in a Finder window. The Automator workflow file that makes this happen is stored under Users>[Your User Name]>Library>Services. Put your name in the path.


If the service doesn't show up in your context menu, open System Preferences and select Keyboard>Services. Scroll to Pictures and check the box next to the menu item you just created, Convert to JPG.


Based in Blanket, TX, Duane Craig is a senior editor at BYTE, and a freelance writer and editor, content creation and BYTE's How To section. Follow him @DuaneCraig and email him at duane@duanecraig.com.



Related Reading




Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

BYTE encourages readers to engage in spirited, healthy debate, including taking us to task. However, BYTE moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing/SPAM. BYTE further reserves the right to disable the profile of any commenter participating in said activities.

COMMENTS

Tune In to BYTE
Facebook Twitter LinkedIn Newsletter RSS
Whitepapers
whitepaper
In this paper you will learn the five trends shaping the future of enterprise mobility. Learn how the rise of social media as a business application, the lurring between work and home, the emergence of new mobile devices, the demand for tech savvy employees and changing expectations of corporate IT will fundamentally change the workplace.
whitepaper
In a survey of more than 1,700 information workers (iWorkers) in North America, notebooks, desktops, and smartphones were found to be “must-have” devices, while tablets, slates, and netbooks were relegated to “nice-to-have” status, according to a commissioned study conducted by Forrester Consulting on behalf of Dell and Intel.
Sponsored by: Dell
Upcoming Events