Is your feature request related to a problem? Please describe.
Currently, there is no way to merge layers. All the core mechanisms are in place, so it's just a matter of using them to implement this feature.
Describe the solution you'd like
Add new commands and canvas actions:
"Merge Layer Down"
"Merge Layer Up"
Incorporate these commands into the Layers panel.
Ensure that these commands are visible in the command palette.
Utilize the Image Processor for merging layers in canvas actions ("fromMergedCompressed").
Confirm that undo/redo functions properly.
Examine Paint.net to observe how this feature operates in practice.
Is your feature request related to a problem? Please describe. Currently, there is no way to merge layers. All the core mechanisms are in place, so it's just a matter of using them to implement this feature.
Describe the solution you'd like
Describe alternatives you've considered N/A
Additional context N/A