Photoshop's remaining blend modes in its groups (12.7a); v1.2.2 kernels for 12.7b
This commit is contained in:
1 parent
29eab10edc
commit
7d47cc367a
26 files changed
+348
-56
No files matched your search
@@ -186,6 +186,10 @@ void AdjustmentLayerTests::adjustmentBlendAndSoftMaskPreserveCoverage()
|
||||
s.updateAdjustment(id, value);
|
||||
s.setLayerBlendMode(LayerBlendMode::multiply);
|
||||
QVERIFY((rendered(s) == std::vector<int>{0, 0, 0, 255, 0, 0, 0, 128, 0, 0, 0, 32, 0, 0, 0, 0}));
|
||||
// Green over red adds to yellow; Swift adjusts as Normal.
|
||||
s.setLayerBlendMode(LayerBlendMode::linearDodge);
|
||||
QVERIFY((part(rendered(s), 0, 4) == std::vector<int>{255, 255, 0, 255}));
|
||||
QCOMPARE(rendered(s)[7], 128);
|
||||
s.setLayerBlendMode(LayerBlendMode::normal);
|
||||
QImage gray(1, 1, QImage::Format_Grayscale8);
|
||||
gray.fill(128);
|
||||
|
||||
Reference in new issue
Block a user