diff options
author | Tiago Conceição <Tiago_caza@hotmail.com> | 2021-09-13 03:38:12 +0300 |
---|---|---|
committer | Tiago Conceição <Tiago_caza@hotmail.com> | 2021-09-13 03:38:12 +0300 |
commit | 43a3031af28f46c0c94dbd1e1d7ecec68adc792e (patch) | |
tree | 806863fe7602f0fb02ea3fd423f0f4eb80394175 /UVtools.WPF/Controls/Tools/ToolLayerImportControl.axaml | |
parent | 553d74d9201d255145782eb3241eb198979dc647 (diff) |
Import layers
- (Add) 'MergeMax' to import type (#289)
- (Add) 'AbsDiff' to import type
- (Add) Description of operations on comobo box
Diffstat (limited to 'UVtools.WPF/Controls/Tools/ToolLayerImportControl.axaml')
-rw-r--r-- | UVtools.WPF/Controls/Tools/ToolLayerImportControl.axaml | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/UVtools.WPF/Controls/Tools/ToolLayerImportControl.axaml b/UVtools.WPF/Controls/Tools/ToolLayerImportControl.axaml index 8b3e806..fb95b6c 100644 --- a/UVtools.WPF/Controls/Tools/ToolLayerImportControl.axaml +++ b/UVtools.WPF/Controls/Tools/ToolLayerImportControl.axaml @@ -11,22 +11,23 @@ <TextBlock Grid.Row="0" Grid.Column="0" VerticalAlignment="Center" - ToolTip.Tip="Insert: Insert layers. (Requires images with bounds equal or less than file resolution) -
Replace: Replace layers. (Requires images with bounds equal or less than file resolution) -
Stack: Stack layers content. (Requires images with bounds equal or less than file resolution) -
Merge: Merge layers by summing value of layer pixels. (Requires images with same resolution) -
MergeMax: Merge layers using the maximum value of layer pixels. (Requires images with same resolution) -
Subtract: Subtract layers content. (Requires images with same resolution) -
BitwiseAnd: Perform a 'bitwise and' operation over layer pixels. (Requires images with same resolution) -
BitwiseOr: Perform a 'bitwise or' operation over layer pixels. (Requires images with same resolution) -
BitwiseXOr: Perform a 'bitwise xor' operation over layer pixels. (Requires images with same resolution)" + ToolTip.Tip="Insert: Requires images with bounds equal or less than file resolution +
Replace: Requires images with bounds equal or less than file resolution +
Stack: Requires images with bounds equal or less than file resolution +
Merge: Requires images with same resolution +
MergeMax: Requires images with same resolution +
Subtract: Requires images with same resolution +
AbsDiff: Requires images with same resolution +
BitwiseAnd: Requires images with same resolution +
BitwiseOr: Requires images with same resolution +
BitwiseXOr: Requires images with same resolution" Text="Import type:"/> <ComboBox Grid.Row="0" Grid.Column="2" VerticalAlignment="Center" HorizontalAlignment="Stretch" - SelectedItem="{Binding Operation.ImportType}" - Items="{Binding Operation.ImportTypesItems}"/> + Items="{Binding Operation.ImportType, Converter={StaticResource EnumToCollectionConverter}, Mode=OneTime}" + SelectedItem="{Binding Operation.ImportType, Converter={StaticResource FromValueDescriptionToEnumConverter}}"/> <TextBlock Grid.Row="0" Grid.Column="4" VerticalAlignment="Center" |