Add resizing options "long edge" and "short edge" (#6263)

Introduces "long edge" and "short edge" options to resize an image. The GUI is made such that the relevant spinboxes only appear for the selected option. Unrelated values (e.g. for box-mode) are not updated.
This commit is contained in:
Bezierr
2021-06-05 05:37:09 +00:00
committed by GitHub
parent 38ff2b5695
commit d86888e93f
13 changed files with 311 additions and 28 deletions

View File

@@ -1387,6 +1387,8 @@ HISTORY_MSG_RAWCACORR_AUTOIT;Raw CA Correction - Iterations
HISTORY_MSG_RAWCACORR_COLORSHIFT;Raw CA Correction - Avoid color shift
HISTORY_MSG_RAW_BORDER;Raw border
HISTORY_MSG_RESIZE_ALLOWUPSCALING;Resize - Allow upscaling
HISTORY_MSG_RESIZE_LONGEDGE;Resize - Long Edge
HISTORY_MSG_RESIZE_SHORTEDGE;Resize - Short Edge
HISTORY_MSG_SHARPENING_BLUR;Sharpening - Blur radius
HISTORY_MSG_SHARPENING_CONTRAST;Sharpening - Contrast threshold
HISTORY_MSG_SH_COLORSPACE;S/H - Colorspace
@@ -3472,10 +3474,14 @@ TP_RESIZE_H;Height:
TP_RESIZE_HEIGHT;Height
TP_RESIZE_LABEL;Resize
TP_RESIZE_LANCZOS;Lanczos
TP_RESIZE_LE;Long Edge:
TP_RESIZE_LONG;Long Edge
TP_RESIZE_METHOD;Method:
TP_RESIZE_NEAREST;Nearest
TP_RESIZE_SCALE;Scale
TP_RESIZE_SPECIFY;Specify:
TP_RESIZE_SE;Short Edge:
TP_RESIZE_SHORT;Short Edge
TP_RESIZE_W;Width:
TP_RESIZE_WIDTH;Width
TP_RETINEX_CONTEDIT_HSL;HSL histogram