Add bitmap format support; Improve some comments.