]> gitweb.hhaalo.de Git - sane-kds-s2000w-net.git/commitdiff
add debug info image converter
authorBastian Dehn <hhaalo@arcor.de>
Fri, 16 Feb 2024 15:50:39 +0000 (16:50 +0100)
committerBastian Dehn <hhaalo@arcor.de>
Fri, 16 Feb 2024 15:50:39 +0000 (16:50 +0100)
src/kds_s2000w_image_converter.c

index 31c9e6b4365785f71251efe9905dda9c0b0541e5..15b8feceaf3cf26035dca5193f1fbf09e43c45c2 100644 (file)
@@ -5,24 +5,29 @@
 #include <string.h>
 #include <magick/MagickCore.h>
 #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;