Question: bmp and ImageTools error

Why is it when I read an image a:=ImageTools:-ToGrayscale(ImageTools:-Read("f:/example.bmp")) saved as a bmp saved from the internet and try b:=Threshold(a,0.5,method=above) gives me this error.

Error, (in ImageTools:-Threshold) unable to store 0.107651138030195570e-293+0.522826466871872160e-288*I in a datatype=float[8] rtable

However when I open the bmp in paint and resave the image in either 24 bit 256 color, doesn't really matter, but a format of bmp .. Maple can continue without error.  Why is that? 

Can Maple take care of that error without having to resave the image through paint? 

Please Wait...