ratio - a mikestreety app

I've been cleaning up my sever space recently and found a few apps i've made that i may have tweeted about before, but aren't linked anywhere. So in the interest of SEO and making people more aware of the little things i've built, I thought what better way than to blog about them? I've also moved them all to my apps directory - apps.mikestreety.co.uk (yes - a nicer index page is coming)

The first one is Rat:o - a ratio calculator.

I built this app just after I started learning jQuery - I wanted to test my knowledge so I thought I would knock this up. It took a few evenings (longer than it should have) but now does the job perfectly. You can chose to get exact or round to the nearest 'pixel'

I built it as on a day to day basis in my job, I am resizing images or youtube videos and such and to do this, I found myself opening photoshop, making a new file the size of the original and then going to Image -> Resize. This technique didn't really matter if I had Photoshop already open, but you can imagine the labourious task that it turned into when I had to open that massive program.

Operation of this app is fairly easy. Put the original dimensions or the ratio you want you picture or video to be and then enter the desired width or height and it fills in the other one! Simple!

Try Ratio out for yourself

This website is currently having a full content audit - apologies if some of the code or content looks a bit funky!

View this post on Gitlab

You might also enjoy…

  • Future of Web Design - May 2012 - Day 1

    Posted on 11th July 2012.

    In the middle of May, I attended my first big web conference – the Future of Web Design. I’ve been to a few small-scale conferences before, but never one but never one of the big boys

  • Domains - Pitfalls and Propagation

    Posted on 23rd June 2012.

    Many a times I have dealt with various companies and agencies about pointing different domains at our servers - what shocked me is the basic level of understanding, most of the time, is 0. I thought I would dump my brain about domains and whatnot, because then even if everyone has a basic understanding, life will be good.

    Web
Mike Street

Written by Mike Street

Mike is a front-end developer from Brighton, UK. He spends his time writing, cycling and coding. You can find Mike on Twitter.