From: Bastian Dehn Date: Fri, 16 Feb 2024 15:50:39 +0000 (+0100) Subject: add debug info image converter X-Git-Tag: v1.0.0^2~271 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=77e88a7f59bd2f80e6ca86fd0a69295241e9cb7b;p=sane-kds-s2000w-net.git add debug info image converter --- diff --git a/src/kds_s2000w_image_converter.c b/src/kds_s2000w_image_converter.c index 31c9e6b..15b8fec 100644 --- a/src/kds_s2000w_image_converter.c +++ b/src/kds_s2000w_image_converter.c @@ -5,24 +5,29 @@ #include #include #include "kds_s2000w_image_converter.h" +#include "kds_s2000w_debug.h" void kds_s2000w_convert_init() { + debug_printf(ALL, "kds_s2000w_convert_init"); IsMagickCoreInstantiated(); } void kds_s2000w_convert_terminate() { + debug_printf(ALL, "kds_s2000w_convert_terminate"); MagickCoreTerminus(); } void kds_s2000w_convert_jpg_to_pnm(blobdata* in, blobdata* out) { + debug_printf(ALL, "kds_s2000w_convert_jpg_to_pnm"); kds_s2000w_convert_jpg_to_pnm_With_depth(in, out, -1); } void kds_s2000w_convert_jpg_to_pnm_With_depth(blobdata* in, blobdata* out, int depth) { + debug_printf(ALL, "kds_s2000w_convert_jpg_to_pnm_With_depth"); ExceptionInfo* exception = NULL; Image* input_image = NULL; ImageInfo* image_info = NULL;