Note that that resize.go code is for release.r58.1, the same version
that Go App Engine runs. It should also work for the latest release:
release.r59.
The image package has changed since then. If you're running on weekly
or tip, you will need a different version of resize.go, which I have
attached.
Let me know if you have any problems.