API: updated CMAKELISTS for static linking

This commit is contained in:
Andrew Haynes
2026-03-22 17:41:31 -04:00
parent 64cf77bbe3
commit 50d17af073
5 changed files with 16 additions and 8 deletions
+24
View File
@@ -0,0 +1,24 @@
#ifndef IMGIO_H
#define IMGIO_H
#include "utils.h"
unsigned int*
ppm_load(const char* file, PPM* m_attr);
int
ppm_save(const unsigned int* buf, const PPM img);
unsigned int*
jpeg_load(JPEG* m_attr);
int
jpeg_save(const unsigned int* src_buf, const JPEG* attr, const char* name);
void
ppm_to_jpeg(PPM* in, JPEG* out);
void
jpeg_to_ppm(JPEG* input, PPM* out);
#endif