Skip to content

Commit 4fe7aae

Browse files
authored
Remove unused HSV and LAB matrix conversion from C (#9724)
1 parent 80ac5e3 commit 4fe7aae

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/libImaging/Matrix.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,7 @@ ImagingConvertMatrix(Imaging im, const ModeID mode, float m[]) {
4646
}
4747
}
4848
ImagingSectionLeave(&cookie);
49-
} else if (
50-
mode == IMAGING_MODE_HSV || mode == IMAGING_MODE_LAB || mode == IMAGING_MODE_RGB
51-
) {
49+
} else if (mode == IMAGING_MODE_RGB) {
5250
imOut = ImagingNewDirty(mode, im->xsize, im->ysize);
5351
if (!imOut) {
5452
return NULL;

0 commit comments

Comments
 (0)