From 77e88a7f59bd2f80e6ca86fd0a69295241e9cb7b Mon Sep 17 00:00:00 2001 From: Bastian Dehn Date: Fri, 16 Feb 2024 16:50:39 +0100 Subject: [PATCH] add debug info image converter --- src/kds_s2000w_image_converter.c | 5 +++++ 1 file changed, 5 insertions(+) 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; -- 2.39.5