view src/process.h @ 8:deeb54b231aa

refactor code
author Dennis <denniscmartin@protonmail.com>
date Sun, 30 Oct 2022 17:00:56 +0100
parents
children
line wrap: on
line source

//
// Created by Dennis Concepción Martín on 18/10/22.
//

#ifndef MAZE_SOLVER_PROCESS_H
#define MAZE_SOLVER_PROCESS_H

#include <png.h>
#include "handlers.h"

struct PngInfo {
    char* filename;
    unsigned int width, height;
    png_bytep* rows;
    png_byte byte_depth, color_type;
};

struct PngInfo read_png(char* filename);
void write_png(struct PngInfo);

#endif //MAZE_SOLVER_PROCESS_H