- AsHexString was not returning the proper value in case    of "IsGrayscale()". Before this change gray scale mode   did not work in pictures generated in batch.
- AsHexString was not returning the proper value in case 
  of "IsGrayscale()". Before this change gray scale mode
  did not work in pictures generated in batch.


git-svn-id: ecbadac9c76e8cf640a0bca86f6bd796c98521e3@24605 27541ba8-7e3a-0410-8455-c3a389f83636

bbannier/ROOT,bbannier/ROOT,dawehner/root,bbannier/ROOT,bbannier/ROOT,dawehner/root,dawehner/root,bbannier/ROOT,dawehner/root,dawehner/root,bbannier/ROOT,dawehner/root,dawehner/root,bbannier/ROOT,dawehner/root