kopia lustrzana https://gitlab.com/sane-project/backends
Apply suggestion to backend/escl/escl_png.c
rodzic
bae9f0a3d3
commit
a771be0c6a
|
@ -120,7 +120,7 @@ get_PNG_data(capabilities_t *scanner, int *width, int *height, int *bps)
|
|||
goto close_file;
|
||||
}
|
||||
|
||||
if (color_type == PNG_COLOR_TYPE_RGB_ALPHA)
|
||||
if (color_type == PNG_COLOR_TYPE_RGB_ALPHA)
|
||||
components = 4;
|
||||
else
|
||||
components = 3;
|
||||
|
|
Ładowanie…
Reference in New Issue