[tm_converter2] Save as png.

This commit is contained in:
lzwdgc 2024-04-22 13:55:32 +03:00
parent 34630347b0
commit bcd7388433

View file

@ -142,7 +142,7 @@ void convert(const path &fn)
} }
} }
// opencv can't save to tga directly // opencv can't save to tga directly
cv::imwrite((path(fn) += sub + ".bmp"s).string(), m); cv::imwrite((path(fn) += sub + ".png"s).string(), m);
}; };
save(""); save("");
// not sure how to parse rest, probably dx8 generated texture levels // not sure how to parse rest, probably dx8 generated texture levels