Description: Saving in IMG/TGA/JPG.
Parameters:
path: Path. type: 0:IMG, 1:TGA, 2:JPG. start_frame, end_frame: window for save image(s).