summaryrefslogtreecommitdiff
path: root/src/flam3-animate.c
diff options
context:
space:
mode:
authorErik Reckase <e.reckase@gmail.com>2010-12-12 04:44:45 +0000
committerScott Draves <spot@draves.org>2015-02-15 12:20:14 -0500
commit41720ed7cbfc4332d37ccac90871fe7a1d7e53e6 (patch)
treeee27fbf11f27eb8691edee786603d16bdc2f3717 /src/flam3-animate.c
parent797c1cc2ce44c5f8a9f951c9b8514e2e802ee505 (diff)
downloadpucket-41720ed7cbfc4332d37ccac90871fe7a1d7e53e6.tar.gz
pucket-41720ed7cbfc4332d37ccac90871fe7a1d7e53e6.tar.bz2
pucket-41720ed7cbfc4332d37ccac90871fe7a1d7e53e6.zip
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
Diffstat (limited to 'src/flam3-animate.c')
-rw-r--r--src/flam3-animate.c2
1 files changed, 1 insertions, 1 deletions
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")) {