On-demand image resizer in Go