mirror of https://github.com/GNOME/gimp.git
app: make LCH lightness select-criterion faster
babl already has a faster path for getting L only, than going through LCH.
This commit is contained in:
parent
465eba3260
commit
b5974d3457
|
@ -286,6 +286,9 @@ choose_format (GeglBuffer *buffer,
|
|||
break;
|
||||
|
||||
case GIMP_SELECT_CRITERION_LCH_L:
|
||||
format = babl_format ("CIE L alpha float");
|
||||
break;
|
||||
|
||||
case GIMP_SELECT_CRITERION_LCH_C:
|
||||
case GIMP_SELECT_CRITERION_LCH_H:
|
||||
format = babl_format ("CIE LCH(ab) alpha float");
|
||||
|
|
Loading…
Reference in New Issue