Strange things can happen with the log. I edited the log, removed some lines and after a refresh they all came back. Then I noticed that all the png in the log created with jhspng2 became the same after the refresh. Understandably because after the refresh they were all read in from test.png and it contained the last one written to it.
2012/1/23 Björn Helgason <gos...@gmail.com> > This can be used until a better solution will be introduced > > jhspng2=: 3 : 0 > d=. fread y > w=. 256#.a.i.4{.16}.d > h=. 256#.a.i.4{.20}.d > t=. '<img width=<WIDTH>px height=<HEIGHT>px src="<FILE><UQS>" ></img>' > dn=. '~temp/test.png' > d fwrite dn > jhtml t hrplc_jhs_ 'WIDTH HEIGHT FILE UQS';w;h;dn;jhsuqs'' > ) > jhspng2 'c:/tmp/spil/240.png' > jhspng2 'c:/tmp/spil/123.png' > > It is possible to make chrome read local files but it is not recommended > for security reasons. > -- Björn Helgason, Verkfræðingur Fornustekkum II 781 Hornafirði, t-póst: gos...@gmail.com gsm: +3546985532 twitter: @flugfiskur http://groups.google.com/group/J-Programming Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans góður kennari getur stigið á tær án þess að glansinn fari af skónum /|_ .-----------------------------------. ,' .\ / | Með léttri lund verður | ,--' _,' | Dagurinn í dag | / / | Enn betri en gærdagurinn | ( -. | `-----------------------------------' | ) | (\_ _/) (`-. '--.) (='.'=) ♖♘♗♕♔♙ `. )----' (")_(") ☃☠ ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm