Re: bitmaps from random

2015-12-21 Thread Mike Pechkin
hi, code is here: https://bitbucket.org/mihailp/tankfeeder/src/4449cee7f84899243d8ce2799779caf3457f7cc2/random.l?at=default=file-view-default the *only* source of info from google: http://www.imagemagick.org/discourse-server/viewtopic.php?t=26710 On Mon, Dec 21, 2015 at 8:04 PM, Christophe

Re: bitmaps from random

2015-12-21 Thread Erik Gustafson
Hi, Is there a way to do the conversion with pure PicoLisp? > Suppose I implement the bmp format. > I have a list of bits, > that I group by 8 to have a list of bytes, > then how can PicoLisp write these raw bytes to a file? The built-in 'wr' does just that - writes raw bytes to the current

RE: bitmaps from random

2015-12-21 Thread Loyall, David
> Suppose I implement the bmp format. Or, https://en.wikipedia.org/wiki/Netpbm Cheers, --Dave

Re: bitmaps from random

2015-12-21 Thread Christophe Gragnic
On Mon, Dec 21, 2015 at 10:58 PM, Erik Gustafson wrote: > Hi, > > […] > > The built-in 'wr' does just that - writes raw bytes to the current output > channel. Indeed. I missed this one. Thanks. Oops, it seems that Ersatz doesn't have it. On Mon, Dec 21, 2015 at 11:12

Re: bitmaps from random

2015-12-21 Thread Mike Pechkin
yes, influenced by http://goo.gl/zhTijq On Mon, Dec 21, 2015 at 3:43 PM, Mike Pechkin wrote: > hi, > > bitmaps from (rand) from pil32 and pil64 > done by "convert" from ImageMagic soft. > > now looks ok. > http://imgur.com/a/bYaAr > > Mike > >

Re: bitmaps from random

2015-12-21 Thread Henrik Sarvell
Neat trick to test RNGs, so obvious in hindsight. On Mon, Dec 21, 2015 at 3:49 PM, Mike Pechkin wrote: > yes, influenced by > http://goo.gl/zhTijq > > > On Mon, Dec 21, 2015 at 3:43 PM, Mike Pechkin > wrote: > >> hi, >> >> bitmaps from (rand)