Image resizer in go