summaryrefslogtreecommitdiff
path: root/img.h
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2015-03-30 20:56:31 +0200
committerLars-Dominik Braun <lars@6xq.net>2015-05-02 21:36:45 +0200
commit83818b18a1fa1e8a00332489e31d346101b6fe9e (patch)
tree3ccd2826a1f8bb39c6b9e6f1d9f61eae520f8052 /img.h
parenta7842df438eda518325138b2207c9a898171ba47 (diff)
downloadpucket-83818b18a1fa1e8a00332489e31d346101b6fe9e.tar.gz
pucket-83818b18a1fa1e8a00332489e31d346101b6fe9e.tar.bz2
pucket-83818b18a1fa1e8a00332489e31d346101b6fe9e.zip
Another massive cleanup
Drops unused functions, fixes function visibility.
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);