shithub: view

ref: 84cf99a0f4f48ef411b49ec4575f2e5d47a7907d
dir: /a.h/

View raw version
enum
{
	NINE,
	SVG,
	JPEG,
	GIF,
	PNG,
	BMP,
};

void*	emalloc(ulong);
void*	erealloc(void*, ulong);
Image*	eallocimage(int, int, ulong, int, ulong);
uchar*	readfile(char*, int*);
int		writefile(char*, char*, int);
int		fileformat(char*);
Image*	ipipeto(Image*, char*);