How to calculate the selection coordinates of a resized and rotated image

How to calculate the selection coordinates of a resized and rotated image

This tutorial derives from a question I recently answered in Stack Overflow. The person who asked the question was selecting (I assume using some JavaScript library) a part of an image that wanted to subsequently crop. Given that the selection was being made in a resized image, he had the coordinates based on that resized image, and he needed to know the way he could calculate the coordinates corresponding to the original image. Let’s tackle that first, and then we will move onto the rotation part which is mentioned in the title of this tutorial.

Read more →

From fanzines to newsletters

From fanzines to newsletters

I’ll begin with a short story. Many years ago, when I was in my early teens, I enjoyed reading several fanzines containing interesting articles (either original or just photocopied from other sources), lists of recommendations for books/music/movies, etc. Back in these days, they were usually distributed by hand, but you could also post money to the fanzine’s publisher to cover postage costs (or an envelope and stamps) and you would get the fanzine by post.

Read more →

Sometimes you have to let go

Sometimes you have to let go

I wrote the title of this post and saved it as an empty draft at the end of September, 2012. At the time, I was thinking of dropping some of the domain names which I owned but I was not using. I was already thinking of doing that for at least a year, and it took me another one to actually do it, but I already managed to drop a few domains. I’m even about to drop another three in the following days.

Read more →

Setting goals, not resolutions

Setting goals, not resolutions

Although last year I wrote my new year’s resolutions, after reading a lot of other people’s resolutions during the last month I was convinced that I used the wrong term. Don’t get me wrong, but it looks like the term “resolution” is mostly used for things that someone wouldn’t normally do and is trying to convince and motivate him/herself to do them, only because a new year is approaching.

Read more →

Looking back to this year (2013)

Looking back to this year (2013)

Last year, for the first time, I wrote a new year’s resolution; just a small list of things which I would like to complete in 2013, from a professional point of view. Since I went over it a few times during the past year to check how I was progressing, I thought it would be nice to go through the list in a blog post as well before writing my new year’s resolution for 2014.

Read more →