1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 06:17:35 +00:00

PixelPaint: Add color-masking for editing masks

This patch adds the ability to refine a editing mask by a color-range
based on the pixels of the content image. This is useful for image
editing where mask restirction via luminosity might not fit or just
certain color ranges should be edited.
This commit is contained in:
Torstennator 2023-06-23 12:43:59 +02:00 committed by Jelle Raaijmakers
parent df4904f61d
commit 8c681a1603
6 changed files with 520 additions and 84 deletions

View file

@ -119,6 +119,7 @@ private:
RefPtr<GUI::Action> m_clear_mask_action;
RefPtr<GUI::Action> m_toggle_mask_visibility_action;
RefPtr<GUI::Action> m_open_luminosity_masking_action;
RefPtr<GUI::Action> m_open_color_masking_action;
Gfx::IntPoint m_last_image_editor_mouse_position;
};