Add layer scaling, greyscale effect, and context menu

- Fix onnxruntime version (1.15.1) to avoid executable stack issue
- Add Layer Scale module (Layer > Scale Layer or 'S' button)
- Add Greyscale effect with multiple methods (luminosity, average, etc.)
- Add right-click context menu on layers with common operations
- Add Scale button to layers panel toolbar
This commit is contained in:
Claude
2026-01-27 12:51:11 +00:00
parent d9fea955fc
commit 1be13d3620
6 changed files with 529 additions and 1 deletions
+10
View File
@@ -326,6 +326,11 @@ const menuDefinition = [
name: 'Convert to Raster',
target: 'layer/raster.raster'
},
{
name: 'Scale Layer',
ellipsis: true,
target: 'layer/scale.scale'
},
{
divider: true
},
@@ -480,6 +485,11 @@ const menuDefinition = [
ellipsis: true,
target: 'effects/black_and_white.black_and_white'
},
{
name: 'Greyscale',
ellipsis: true,
target: 'effects/greyscale.greyscale'
},
{
name: 'Borders',
ellipsis: true,