Make JPEG droplet

27 January 2008
28 Comments →

finderscreensnapz001.gif

This Mac OS X droplet converts any compatible image files into JPEGs. You can set the quality of the compression by changing the number in the filename. Make as many copies you need. I always have two on my desktop; one named Jpeg 60 and the other Jpeg 100.

[ZIP] Download MakeJpeg droplet for Mac (includes source code)

The droplet accepts PhotoShop files and in fact anything with one of the following extensions: tif, tiff, png, pict, pct, pdf, bmp, eps, psd


Comments

28 comments so far
Leave a comment →

Show off!

Thats actually really useful, and quite simple in terms of what’s happening!

Simon Richardson
31 January 2008

1


[...] Clicca qui per visitare il sito dell’Autore. Aggiungi a del.icio.us 1 – Visite. ZN utilizza WordPress Revolution v5.0 basato su iTheme di N.Design Studio [...]

Make JPEG droplet
Pingback
7 June 2008

2


[...] Simon Heys » Make JPEG droplet (tags: Mac Software freeware image) [...]

links for 2008-06-08 « 语虚
Pingback
8 June 2008

3


There is no sopurce code in archive :((

Just wanting to know how yoiu make this working

Aris
23 June 2008

4


Sorry Aris – try downloading again, the source file is now included. Hope you find it useful.

Simon Heys
23 June 2008

5


This is amazingly helpful. Is it possible to make one that resizes the image to a user-definable size? So you could then just drop a file, and make a compressed file at, say, 1000px on its longest side.

It would make saving for web much easier!

Billy
23 August 2008

6


[...] JPG Droplet App – makes a JPG from lots of different files (very useful for bloggers :) [...]

/blog » Blog Archive » A Lot To Offer
Pingback
7 September 2008

7


Hi Simon,
Great little app (in fact I like all the stuff on your site!)

Querstion: Is there any way of controlling the dpi resolution? I really need 72 dpi and your droplet appears only to spit out at 150.

Nice work!
Joe

Joe
6 October 2008

8


Hi Joe

You can force the output dpi by editing the source code. Just add:

-s dpiHeight 72.0 -s dpiWidth 72.0

to the sips command. I’ve mailed you a version with this addition.

Simon Heys
6 October 2008

9


Hi Simon,

I’ve tried this excellent application. It’s does what it’s supposed to. Except for two things.

1. The Finder preview/icon has a black background (minor problem, but made my heart jump)
2. It throws away the clipping path (this is a major problem, would it be possible to fix it?)

This would be a very useful application for us if it weren’t for those things.

Good work!
/rpo

Urpo
24 October 2008

10


Hi Urpo – preview icon is easily fixed, but I don’t think the method I am using supports clipping paths.

Neither are issues for me since I tend to use Adobe Bridge instead of the Finder (far better than icon previews), and I don’t use clipping paths at all…sorry! If you need some specific functioanlity as part of your workflow let me know and I’ll see what I can do. Anything is possible.

Simon Heys
24 October 2008

11


Hi Simon, thanks for this great script. I generate a lot of screen shots for posting to the Coppermine Gallery Support Forum and this will really come in handy. As an added feature, do you think adding a copyright notice to the image is doable? Thanks again! Billy

Billy
26 October 2008

12


Hi Billy – Sorry to say that the method being used here doesn’t allow watermarking images. A quick Google turned up this which might be of use.

Simon Heys
27 October 2008

13


Hi Simon, it seems to be a great job but it doesn’t work with my .eps files…maybe it’s me doing sthg wrong…help plz!!! Why don’t u put a pdf guide in the downloadable archive? Another thing: could u pls send me the same 72dpi version u already sent to Joe on October 6? Thx a lot! Max

Max
26 November 2008

14


Hi Simon,

A silly question. I am mac based and generally only have the option to save in jpeg or tiff format in photoshop. This plays havoc when I supply images to my web designers. Is there mac based software so I can save a psd or jpeg file as jpg and gif?

Kind Regards, Rod

Rod
13 December 2008

15


Hi Rod

If you have Photoshop then you’re all set. Just go to the File menu and choose Save for Web. You can then export a JPEG (same as JPG) or GIF.

Best, Simon

Simon Heys
16 December 2008

16


This is ALMOST what I need!

But the droplet accepts all fileformats … EXCEPT jpg/jpeg.

If you could make these acceptable as well, then I can convert my hi-compressed jpg’s into any quality of compression.

Is this possible (in the near future)?

Thanks in advance,

Sanne, Netherlands

Sanne
14 April 2009

17


[...] does the first page. To this end, there is a convenient droplet that uses the sip command called MakeJpeg, but the first page problem remained. Well, I’d forgotten that there is a Libre program [...]

Convert PDF to JPEG on OS X « Le Blog de Maurice
Pingback
23 April 2009

18


Excellent Post, thanx for sharing

Ge Studio
23 April 2009

19


How can I make my own Tag and make it a jpeg? Would like to post it on my Tagged.

Thanks

Janette
15 June 2009

20


Hi Simon

Great script, and thanks for posting it. However I’m wondering if you can help… I too would like to be able to change the resolution of the output image. I managed to put the sips dpiHeight/Width command into the script, but this only seems to change the pixel aspect ratio, not the actual image resolution.

Any idea how I can get a 72dpi image out from this, or am I being stupid?

Many thanks indeed for any help.
Patrick

Patrick
16 July 2009

21


Hi Patrick

You are correct. Changing the dpi in the sips command will not resample the image. It just changes the dpi information and the number of pixels in the image remains the same.

It is possible to change the script to support resampling. This would involve running an initial sips command to interrogate the image dpi, width and height and gathering the results into variables. You would then calculate the new width and height based on target dpi, then run the sips command to process the image.

I’d be really pleased for someone to have a go at this, it’s on my ‘todo’ list but quite far down…

Simon

Simon Heys
17 July 2009

22


Aha – interesting. I think however, that would be slightly beyond my clumsy script-hacking abilities…
Thanks for letting me know.
P

Patrick
18 July 2009

23


sips throws away the clipping path, is it so?
Imagemagick does not.

excelent work :-)

ps
droplet working with folder contents/structures could be whery usefull

grozan
26 July 2009

24


Nice script… any idea why it doesn’t work under Snow Leopard? I’ve been looking here, but I’m not much of an applescripter: http://lists.apple.com/archives/applescript-users/2009/Sep/msg00160.html

kais
25 September 2009

25


Hi kais – it works fine for me in Snow Leopard. Please mail me if you are getting some kind of error.

Simon Heys
26 September 2009

26


Hi Simon,
(and all,)

As a little feature of this FileMaker Pro app I wrote quite some time ago, I have basically an analogue script for resizing images while uploading them tot the database and a website.
But I am having trouble at displaying pictures at any other resolution than 72.0 dpi in FileMaker (they show up fine on the web) and it looks like it is resolution-related.
Your suggestion :

It is possible to change the script to support resampling. This would involve running an initial sips command to interrogate the image dpi, width and height and gathering the results into variables. You would then calculate the new width and height based on target dpi, then run the sips command to process the image.

looks quite interesting & promising, but I can’t “grep” it. Care to elaborate ?
I have the interrogation part covered, my problem is in the resampling (there’s no resampleResolution in man sips and setProperty dpiWidth/Height doesn’t seem to affect it)

I’d be really pleased for someone to have a go at this, it’s on my ‘todo’ list but quite far down…

I’d be quite happy to oblige…

charlie
24 November 2009

27


Very useful!
Thanks Simon!

Fabrizio Schiavi
19 January 2010

28


Leave a comment

(required)
(will not be published) (required)

Follow comments through the RSS 2.0 feed. Trackback from your own site.