12.1: feathered selections, Select Subject, Soft Light, the fixed-width font menu (Compositor 1.1.1–1.1.4)
This commit is contained in:
1 parent
3e52fd90ee
commit
ee34c338d4
42 files changed
+1087
-94
No files matched your search
@@ -89,6 +89,11 @@ std::optional<QPainterPath> MaskTracing::darkPixels(const QImage &image)
|
||||
return trace(image, false, [](uchar value) { return value < 128; });
|
||||
}
|
||||
|
||||
std::optional<QPainterPath> MaskTracing::whitePixels(const QImage &image)
|
||||
{
|
||||
return trace(image, false, [](uchar value) { return value >= 128; });
|
||||
}
|
||||
|
||||
std::optional<QPainterPath> MaskTracing::opaquePixels(const QImage &image)
|
||||
{
|
||||
return trace(image, true, [](uchar value) { return value >= 128; });
|
||||
|
||||
Reference in new issue
Block a user