From 41720ed7cbfc4332d37ccac90871fe7a1d7e53e6 Mon Sep 17 00:00:00 2001 From: Erik Reckase Date: Sun, 12 Dec 2010 04:44:45 +0000 Subject: flam3-animate would not write out 16 bpc png images properly. thanks david. git-svn-id: https://flam3.googlecode.com/svn/trunk@147 77852712-ef1d-11de-8684-7d64432d61a3 --- src/flam3-animate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flam3-animate.c b/src/flam3-animate.c index 402e3ee..3c32628 100644 --- a/src/flam3-animate.c +++ b/src/flam3-animate.c @@ -299,7 +299,7 @@ int main(int argc, char **argv) { if (!strcmp(format, "png")) { - write_png(fp, image, cps[0].width, cps[0].height, &fpc, 1); + write_png(fp, image, cps[0].width, cps[0].height, &fpc, f.bytes_per_channel); } else if (!strcmp(format, "jpg")) { -- cgit v1.2.3