[tm_converter2] Dont shrink alpha channel.

This commit is contained in:
lzwdgc 2024-04-22 13:55:47 +03:00
parent bcd7388433
commit 8ddf0c5230

View file

@ -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