Skip to content

Commit

Permalink
Added very rudimentary/shitty luminance level protection
Browse files Browse the repository at this point in the history
  • Loading branch information
TomArrow committed Jan 23, 2021
1 parent ac5f9d7 commit c1e7810
Show file tree
Hide file tree
Showing 2 changed files with 125 additions and 51 deletions.
10 changes: 7 additions & 3 deletions MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@
<RadioButton x:Name="useSRGBAggrSpace_radio" Checked="AggrSpace_radio_Checked" >sRGB</RadioButton>
<RadioButton x:Name="useSRGBLinearAggrSpace_radio" Checked="AggrSpace_radio_Checked" IsEnabled="False" >sRGB Linear</RadioButton>
<RadioButton x:Name="useXYZAggrSpace_radio" Checked="AggrSpace_radio_Checked" IsEnabled="False" >XYZ</RadioButton>
<RadioButton x:Name="useCIELabAggrSpace_radio" Checked="AggrSpace_radio_Checked" IsChecked="False">CIELab</RadioButton>
<RadioButton x:Name="useCIELChabAggrSpace_radio" Checked="AggrSpace_radio_Checked" IsChecked="True">
<RadioButton x:Name="useCIELabAggrSpace_radio" Checked="AggrSpace_radio_Checked" IsChecked="True">CIELab</RadioButton>
<RadioButton x:Name="useCIELChabAggrSpace_radio" Checked="AggrSpace_radio_Checked" IsChecked="False">
<TextBlock>CIELCh<TextBlock Text="ab">
<TextBlock.RenderTransform>
<!-- Typography.Variants="Superscript" didn't work -->
Expand Down Expand Up @@ -175,7 +175,11 @@
<Label>Blur strength (0.0-1.0)</Label>
<TextBox MinWidth="30" x:Name="boxBlur3dStrength_text" TextChanged="boxBlur3d_text_TextChanged">1.0</TextBox>
</WrapPanel>
<CheckBox IsEnabled="False">Protect avg. luminance level</CheckBox>

<WrapPanel>
<Label FontSize="10">Protect luminance (0.0-1.0)</Label>
<TextBox MinWidth="30" x:Name="boxBlur3dProtectLuminance_text" TextChanged="boxBlur3d_text_TextChanged">1.0</TextBox>
</WrapPanel>
<CheckBox IsEnabled="False">Protect blacks</CheckBox>
<CheckBox IsEnabled="False">Protect whites</CheckBox>
<CheckBox IsEnabled="False">Protect neutrals</CheckBox>
Expand Down
Loading

0 comments on commit c1e7810

Please sign in to comment.