1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 15:53:03 +04:00

Unified imreadXXX functions flags.

This commit is contained in:
Alexander Smorkalov
2026-05-24 14:59:27 +03:00
parent ac1ed5c160
commit 133e218484
5 changed files with 16 additions and 14 deletions
+1 -1
View File
@@ -482,7 +482,7 @@ TEST(Imgcodecs_APNG, imwritemulti_gray)
string output = cv::tempfile(".png");
EXPECT_TRUE(imwrite(output, s_animation.frames));
vector<Mat> read_frames;
EXPECT_TRUE(imreadmulti(output, read_frames));
EXPECT_TRUE(imreadmulti(output, read_frames, cv::IMREAD_ANYCOLOR));
EXPECT_EQ(1, read_frames[0].channels());
read_frames.clear();
EXPECT_TRUE(imreadmulti(output, read_frames, IMREAD_UNCHANGED));