agoramachina / flam3

Automatically exported from code.google.com/p/flam3
0 stars 0 forks source link

16bit PNG bug #5

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
from  David Burnett at http://community.electricsheep.org/node/804

... in flam3-animate you've left the call to write_png hard coded for an 8 bit 
png while the data is 16 bit so its just a matter of changing line 285 in 
flam3-animate.c

- 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);

Edit: This in in both 2.7 and 3.0 versions of flam3

Original issue reported on code.google.com by scottdra...@gmail.com on 12 Dec 2010 at 1:34

GoogleCodeExporter commented 8 years ago
fixed in rev 147

Original comment by e.reck...@gmail.com on 12 Dec 2010 at 4:45