image:

resize(buffer, options)

Returns a new image, resizing the image represented by buffer. The options should include a height and/or width property.