mirror of
https://github.com/aimrebirth/tools.git
synced 2026-04-14 17:33:25 +00:00
[tm_converter2] Save as png.
This commit is contained in:
parent
34630347b0
commit
bcd7388433
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue