Add selection-based effects (invert, adjust, greyscale)

- New Image > Selection Effects submenu
- Invert Selection: Invert colors only within selected area
- Adjust Selection: Brightness/contrast/gamma on selection only
- Greyscale Selection: Convert just the selected area to greyscale
- All effects work with any selection tool (Smart Select, Brush Select, etc.)
- Useful for CNC depth maps where specific objects need different treatments
This commit is contained in:
Claude
2026-01-27 13:09:06 +00:00
parent 1be13d3620
commit 4d4947df13
2 changed files with 376 additions and 0 deletions
+23
View File
@@ -291,6 +291,29 @@ const menuDefinition = [
name: 'Remove Background (AI)',
ellipsis: true,
target: 'image/remove_background.remove_background'
},
{
divider: true
},
{
name: 'Selection Effects',
children: [
{
name: 'Invert Selection',
ellipsis: true,
target: 'image/selection_effects.invert_selection'
},
{
name: 'Adjust Selection',
ellipsis: true,
target: 'image/selection_effects.adjust_selection'
},
{
name: 'Greyscale Selection',
ellipsis: true,
target: 'image/selection_effects.greyscale_selection'
}
]
}
]
},