corrected some bugs displaying and saving images
reworte test.cpp to convert from MSFiles to RGB