mirror of
https://github.com/aimrebirth/tools.git
synced 2026-04-14 17:33:25 +00:00
[tm_converter2] Dont shrink alpha channel.
This commit is contained in:
parent
bcd7388433
commit
8ddf0c5230
1 changed files with 2 additions and 1 deletions
|
|
@ -120,7 +120,8 @@ void convert(const path &fn)
|
|||
});
|
||||
if (tm.d3dformat == D3DFMT_X8R8G8B8) {
|
||||
// and shrink if possible
|
||||
cv::cvtColor(m, m, cv::COLOR_BGRA2BGR);
|
||||
// dont shrink? we need alpha for compression again?
|
||||
//cv::cvtColor(m, m, cv::COLOR_BGRA2BGR);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue