add image-height to the image library bindings

Makes the code for seam carving slightly more readable.