Hi all, The png loading should be fixed now in git, let me know what happens. I haven't tried saving yet.
cheers, dave On Tue, 2009-07-14 at 12:27 +0200, gabor papp wrote: > hi, > > i encountered some problems with png files. it seems that fluxus does > not work properly with libpng 1.2.37. when the file is loaded the pixels > got scrambled. http://www.flickr.com/photos/gaborpapp/3719423017/ > i tested this on linux and osx with the same result. > > with libpng 1.2.35 everything seems to be fine. except when i try to > save pixel primitives i get the "Error writing PNG file" message. > > (clear) > > (define p (build-pixels 16 16)) > > (with-primitive p > (pdata-map! > (lambda (c) > (rndvec)) > "c") > (pixels-upload) > (save-primitive "test.png")) > > are you also experiencing this? or is it a problem with my setup? > > best, > gabor
