diff options
author | Erik Reckase <e.reckase@gmail.com> | 2010-12-12 04:44:45 +0000 |
---|---|---|
committer | Scott Draves <spot@draves.org> | 2015-02-15 12:20:14 -0500 |
commit | 41720ed7cbfc4332d37ccac90871fe7a1d7e53e6 (patch) | |
tree | ee27fbf11f27eb8691edee786603d16bdc2f3717 /src | |
parent | 797c1cc2ce44c5f8a9f951c9b8514e2e802ee505 (diff) | |
download | pucket-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')
-rw-r--r-- | src/flam3-animate.c | 2 |
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")) { |