14.25 round 2: temperature's edge, each channel missing, translucent exposure

This commit is contained in:
ZacharyZhang-NY committed 2026-10-11 13:21:05 -04:00
1 parent f0fe272038
commit 141a174cac
3 files changed
+7 -2

No files matched your search

+1 -1
View File
@@ -47,7 +47,7 @@ void CameraRawTests::exposureAndContrastMatchPhotoshop()
QVERIFY2(std::abs(brighter[0] - 181) <= 2, qPrintable(QString::number(brighter[0])));
QVERIFY(brighter[0] == brighter[1] && brighter[1] == brighter[2]);
const QImage translucent = gray(4, 4, 0.5);
QCOMPARE(pixels(settings.apply(translucent))[0][3], pixels(translucent)[0][3]);
QVERIFY((pixels(settings.apply(translucent))[0] == std::array{181, 181, 181, pixels(translucent)[0][3]}));
settings = CameraRawSettings();
settings.contrast = 100;
const auto pushed = pixels(settings.apply(pair(64, 192)));