summaryrefslogtreecommitdiff
path: root/img.h
diff options
context:
space:
mode:
Diffstat (limited to 'img.h')
-rw-r--r--img.h17
1 files changed, 2 insertions, 15 deletions
diff --git a/img.h b/img.h
index 6bdf88b..385b3ac 100644
--- a/img.h
+++ b/img.h
@@ -15,23 +15,10 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#pragma once
#include <stdio.h>
#include "flam3.h"
-#define FLAM3_PNG_COM 8
+void write_png(FILE *file, void *image, int width, int height, int bpc);
-typedef struct {
-
- char *genome;
- char *badvals;
- char *numiters;
- char *rtime;
-
-} flam3_img_comments;
-
-
-void write_png(FILE *file, void *image, int width, int height, flam3_img_comments *fpc, int bpc);
-
-/* returns RGBA pixel array or NULL on failure */
-unsigned char *read_png(FILE *file, int *width, int *height);