]> gitweb.hhaalo.de Git - sane-kds-s2000w-net.git/commitdiff
remove input image properties
authorBastian Dehn <hhaalo@arcor.de>
Fri, 1 Mar 2024 17:30:15 +0000 (18:30 +0100)
committerBastian Dehn <hhaalo@arcor.de>
Fri, 1 Mar 2024 17:30:15 +0000 (18:30 +0100)
src/kds_s2000w_image_converter.c

index 42e47106381169e73706fd57333bd16d0200abc7..ecd285eb0242949dc124d13b0771af1af4eb5bb5 100644 (file)
@@ -37,6 +37,7 @@ void kds_s2000w_convert_jpg_to_pnm_with_depth(blobdata* in, blobdata* out, int d
        const char* streamname = "streamin.jpg";
        strcpy(image_info->filename, streamname);
        input_image = BlobToImage(image_info, in->data, in->size , exception);
+       input_image->properties = NULL;
 
        if (exception->severity != UndefinedException)
                CatchException(exception);