Added support for including the size of transformed images in return value.