diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2025-09-15 09:27:16 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2025-09-15 09:27:16 +0200 |
commit | a00358f07e4474d0cbc8817d7b2f2d2c5cbdac0c (patch) | |
tree | 506c2deebcad7684c125e894a7eee29598ed2ecd /backend/escl/escl_crop.c | |
parent | 7a3814ff46a11da098906af8621571b1a323226e (diff) | |
parent | 0b8a357c867854848e6987edcf4433a9a6534ba7 (diff) |
Merge branch 'release/debian/1.4.0-1'HEADdebian/1.4.0-1master
Diffstat (limited to 'backend/escl/escl_crop.c')
-rw-r--r-- | backend/escl/escl_crop.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/backend/escl/escl_crop.c b/backend/escl/escl_crop.c index 59284ac..a7e0fa0 100644 --- a/backend/escl/escl_crop.c +++ b/backend/escl/escl_crop.c @@ -44,7 +44,7 @@ escl_crop_surface(capabilities_t *scanner, int real_h = 0; unsigned char *surface_crop = NULL; - DBG( 1, "Escl Image Crop\n"); + DBG( 10, "Escl Image Crop\n"); ratio = (double)w / (double)scanner->caps[scanner->source].width; scanner->caps[scanner->source].width = w; if (scanner->caps[scanner->source].pos_x < 0) @@ -62,18 +62,18 @@ escl_crop_surface(capabilities_t *scanner, y_off = (int)((double)scanner->caps[scanner->source].pos_y * ratio); real_h = scanner->caps[scanner->source].height - y_off; - DBG( 1, "Escl Image Crop [%dx%d|%dx%d]\n", scanner->caps[scanner->source].pos_x, scanner->caps[scanner->source].pos_y, + DBG( 10, "Escl Image Crop [%dx%d|%dx%d]\n", scanner->caps[scanner->source].pos_x, scanner->caps[scanner->source].pos_y, scanner->caps[scanner->source].width, scanner->caps[scanner->source].height); *width = real_w; *height = real_h; - DBG( 1, "Escl Image Crop [%dx%d]\n", *width, *height); + DBG( 10, "Escl Image Crop [%dx%d]\n", *width, *height); if (x_off > 0 || real_w < scanner->caps[scanner->source].width || y_off > 0 || real_h < scanner->caps[scanner->source].height) { surface_crop = (unsigned char *)malloc (sizeof (unsigned char) * real_w * real_h * bps); if(!surface_crop) { - DBG( 1, "Escl Crop : Surface_crop Memory allocation problem\n"); + DBG( 10, "Escl Crop : Surface_crop Memory allocation problem\n"); free(surface); surface = NULL; goto finish; |