*Fixed last issue of
SRC and DEST size not matching in RefineImage()

*Image format not corresponding issue

*Added manifest permission for file I/O