a nodejs cut sprite images into single image