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
This commit is contained in:
Erik Reckase 2010-12-12 04:44:45 +00:00 committed by Scott Draves
parent 797c1cc2ce
commit 41720ed7cb

View File

@ -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")) {