Fixed tga scale issue and moved pixel array over to TGAWriter