Tuesday, February 14, 2012

Screenshots Straight into Imgur.com

If you tend to use lots of screen-shots (like me) you should probably know SnagIt. It's the number-one screen-shot application for Windows. It takes over of your PrintScreen keyboard button and when you click it you can then choose the screen area to capture.

If you create lots and lots of screen-shots you can configure SnagIt to automatically write the files to some directory. But what if you always need to upload these image files to some public location?

That's where imgur comes into play. They'll gladly host your image files and give you permanent links to them. The cool thing about this is that they have an API. So, yes, you've guessed it, you can connect SnagIt to imgur!

Here's how:

  1. You need Python (if you're not a programmer, this isn't for you, sorry...)
  2. Save this script somewhere in your machine:  https://gist.github.com/1828787
  3. Then configure SnagIt to output into this script as a program. You might need to wrap it with a CMD file, depending on your local python setup.
That's it. Now when you snag a new screen-shot it will automatically be uploaded to imgur and the URL will be copied into your clipboard. PrintScreen -> Paste URL into your blog or Facebook status -> Bang, you're done.


Igal Tabachnik said...


I realize this is a very old post, but I wanted to let you know that I created an Imgur plugin for Snagit! It adds an Imgur button on the Share tab, allowing you to upload the image with a single click.

You can get it on github: https://github.com/hmemcpy/SnagitImgur

Assaf said...

Nice job! Much more elegant than my script.

Post a Comment