Late 2 the Party

Your awesome Tagline

0 notes

Batch converting images on Mac OSX

If you want to convert png images to jpeg, you should use the following:

Code:

mkdir jpegs; sips -s format jpeg *.* --out jpgs
If the png images were generated using screen capture, you can set the default osx screen capture format to jpeg, rather than png using this command:

Code:
defaults write com.apple.screencapture type jpg
Then restart your computer for the change to take effect. To revert back to the default png format, use “defaults write com.apple.screencapture type png”.

(Source: forums.macrumors.com)