Transfer to Visual Studio 2012

Transfered to visual studio 2012
output file changed to .bmp casuse original .tga output does not work on
windows