added an identify method

gets the width, height, depth and format