From 2ce9336727d8b08cb69cfbce3fda9d8d1909303e Mon Sep 17 00:00:00 2001 From: Ghost_Element Date: Tue, 19 Sep 2023 10:21:42 +0200 Subject: [PATCH] img print --- image.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/image.c b/image.c index db0c0fe..fcc6495 100644 --- a/image.c +++ b/image.c @@ -1,5 +1,7 @@ #pragma once +#include + #include "image.h" #include "matrix.h" @@ -8,4 +10,10 @@ typedef struct { int image_label; } Image; - +void img_print (Img* img){ + //print the image + matrix_print(img->pixel_values); + //print the number of the image + printf("%d", img->image_label); +} +void img_free (Img* img)