read the width, height, and rotation of images.