diff --git a/src/tm_converter2/tm_converter2.cpp b/src/tm_converter2/tm_converter2.cpp index 9a77a2c..e48c1b8 100644 --- a/src/tm_converter2/tm_converter2.cpp +++ b/src/tm_converter2/tm_converter2.cpp @@ -104,7 +104,7 @@ void convert(const path &fn) } auto save = [&](auto &&sub) { - cv::Mat m(tm.width, tm.height, CV_8UC4); + cv::Mat m(tm.height, tm.width, CV_8UC4); if (tm.dxt5_compression) { // this have some one off results // probaby we did different rounding in current (v1) impl