check-Funktion erstellt

This commit is contained in:
AD005\z004z3ez 2025-11-17 14:03:26 +01:00
parent c1086b6be5
commit b411ffa6c1

View File

@ -8,6 +8,18 @@
// TODO Implementieren Sie geeignete Hilfsfunktionen für das Lesen der Bildserie aus einer Datei
static int check(GrayScaleImage imageData){
int ok = 0;
if(imageData.width == 10 && imageData.height == 10 && imageData.buffer <= BUFFER_SIZE)
return ok = 1;
else
return ok = 0;
}
// TODO Vervollständigen Sie die Funktion readImages unter Benutzung Ihrer Hilfsfunktionen
GrayScaleImageSeries *readImages(const char *path)
{