the image offsets have changed, have a look at the go/c++ version