In this version following changes are done -
1. Return the metadata of the image in the Output Structure.
2. An IsSuccess Boolean flag is added to denote successful retrieval of metadata.