Nearest neighbour image resize