Jump to content

Ratio Calculator Workflow


Recommended Posts

I frequently need to calculate aspect ratios and dimensions when resizing images, so I wrote a ratio calculator plugin for Alfred to make the calculation as efficient as possible.

 

example.gif

 

It works by reading a simplified ratio equation syntax in the form of a b c d where a, bc, and d represent the numerators and denominators in an a/b=c/d ratio equation. Any non-number can be used to represent the missing number.

 

E.g., 2/4=x/10 would be typed as 2 4 x 10 and Alfred will return 5, ready to be copied to the clipboard.

 

Installation instructions and source on GitHub

 

Download Ratio Calculator.alfredworkflow

Edited by matthewmcvickar
Link to comment
  • 4 years later...

Very cool.

I recently started doing more with video and photography. Keeping this in Alfred has helped me tremendously while trying to maintain certain aspect ratios with different pixel numbers.

Thank you, Matthew, for creating this so many years ago — and it still works 💪.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...