API:Imageinfo/Sample code 1