Add convenience call to return image buffer size

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>