initialize image data.