Flip Image in Terminal Way

September 28, 2007 in UNIX, Open Source | 0 Comments

Terminal can help you perfectly flip your image either you want to flip it horizontally or vertically. Of course, you can flip diagonally also, by flipping horizontally after the image flipped vertically.

What benefit me by doing this..

You can save a lot of time and Mac memory while performing this image manipulation. It's just a line of code so you don't need to spend much time to write the code for flipping image. And you don't need to open image editing Application that, of course, eat up a lot of memory of your Mac, all you need is only Terminal (including your keyboard and a little skill).

Flip and Flop..

Flip is for flipping vertically and Flop is for flipping horizontally.

And this is the code..

convert [image name] -flip [new image name]
convert [image-name] -flop [new-image-name]

How to use this code?

  1. Go to the image file directory. It can be done either by using command line cd to the destined directory or by opening that directory in Finder and use OpenTerminalHere.
  2. Type in that code. Use auto-complete feature for quicker result, i.e. using Tab
  3. Hit Return and the new flipped image will appear in the same directory with assigned name

Keep Up to Date

We will come up with more and more interesting topics over the time, make sure to keep yourself up to date using RSS Feeds or Email Subscription.

Related Entries

Some articles taken from our resource base, tightly related to current article, to empower you with more knowledge on tweaking the most out of your Mac.

  1. Free HTML Editors for Mac OS X
  2. Using ColorSync Utility
  3. TextEdit Hidden Ability
  4. TextEdit Decorates your Font
  5. TextEdit Copy the Invisible Style
  6. Save Time with TextEdit
  7. Creating Web Content with TextEdit