forked from Equationist/xpng
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eec8a14
commit 31f4883
Showing
2 changed files
with
105 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,20 @@ | ||
#define XPNG_VERSION "1.3" | ||
/* gcc xpng.c -o xpng -lpng -lm*/ | ||
/* Requires libpng and zlib */ | ||
|
||
#include <stddef.h> | ||
#include <stdint.h> | ||
#include <stdio.h> | ||
#include <stdlib.h> | ||
#include <math.h> | ||
#include <string.h> | ||
#include <zlib.h> | ||
#include <png.h> | ||
|
||
#ifndef __XPNG_H | ||
#define __XPNG_H | ||
|
||
#define XPNG_VERSION "1.4" | ||
|
||
png_bytep xpng(png_bytep buffer, int32_t w, int32_t h, size_t pngsize, uint8_t clevel, int32_t radius); | ||
|
||
#endif /* __XPNG_H */ |