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

InformationWeek is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

IoT
IoT
Systems
News
6/25/2011
11:13 PM
50%
50%

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

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 [email protected].

We welcome your comments on this topic on our social media channels, or [contact us directly] with questions about the site.
Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
RebeccaH794
50%
50%
RebeccaH794,
User Rank: Apprentice
8/11/2014 | 12:27:34 PM
Thank you!
It's so nice when people post helpful solutions like this that actually work!  You just saved me a few hours of rework and frustration!
2020 State of DevOps Report
2020 State of DevOps Report
Download this report today to learn more about the key tools and technologies being utilized, and how organizations deal with the cultural and process changes that DevOps brings. The report also examines the barriers organizations face, as well as the rewards from DevOps including faster application delivery, higher quality products, and quicker recovery from errors in production.
News
How COVID is Changing Technology Futures
Jessica Davis, Senior Editor, Enterprise Apps,  7/23/2020
Slideshows
10 Ways AI Is Transforming Enterprise Software
Cynthia Harvey, Freelance Journalist, InformationWeek,  7/13/2020
Commentary
IT Career Paths You May Not Have Considered
Lisa Morgan, Freelance Writer,  6/30/2020
Register for InformationWeek Newsletters
Video
Current Issue
Special Report: Why Performance Testing is Crucial Today
This special report will help enterprises determine what they should expect from performance testing solutions and how to put them to work most efficiently. Get it today!
White Papers
Slideshows
Twitter Feed
Sponsored Live Streaming Video
Everything You've Been Told About Mobility Is Wrong
Attend this video symposium with Sean Wisdom, Global Director of Mobility Solutions, and learn about how you can harness powerful new products to mobilize your business potential.
Sponsored Video
Flash Poll