mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
Merge pull request #26508 from Kumataro:fix26507
Support CV_32U, CV_64U and CV_64S for TIFF #26508 Close https://github.com/opencv/opencv/issues/26507 Note: Predictor 2 for 64-bit is only supported after libtiff 4.4.0. But Linux x64 Debug uses libtiff 4.1.0 (releases at 2019/11/3). I append fallback fix to NONE. I hope It works well. ### Pull Request Readiness Checklist See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request - [x] I agree to contribute to the project under Apache 2 License. - [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV - [x] The PR is proposed to the proper branch - [x] There is a reference to the original bug report and related work - [x] There is accuracy test, performance test and test data in opencv_extra repository, if applicable Patch to opencv_extra has the same branch name. - [x] The feature is well documented and sample code can be built with the project CMake
This commit is contained in:
@@ -951,7 +951,10 @@ Imgcodes_Tiff_TypeAndComp all_types[] = {
|
||||
{ CV_8SC1, true }, { CV_8SC3, true }, { CV_8SC4, true },
|
||||
{ CV_16UC1, true }, { CV_16UC3, true }, { CV_16UC4, true },
|
||||
{ CV_16SC1, true }, { CV_16SC3, true }, { CV_16SC4, true },
|
||||
{ CV_32UC1, true }, { CV_32UC3, true }, { CV_32UC4, true },
|
||||
{ CV_32SC1, true }, { CV_32SC3, true }, { CV_32SC4, true },
|
||||
{ CV_64UC1, true }, { CV_64UC3, true }, { CV_64UC4, true },
|
||||
{ CV_64SC1, true }, { CV_64SC3, true }, { CV_64SC4, true },
|
||||
{ CV_32FC1, false }, { CV_32FC3, false }, { CV_32FC4, false }, // No compression
|
||||
{ CV_64FC1, false }, { CV_64FC3, false }, { CV_64FC4, false } // No compression
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user