Hi all-
On p. 7 of Cliff Reiter's book:
(pal;s) write_image 'temp/temp.png'
gives a domain error.
>From the examples in ~addons/media/image3/view_m.ijs, the same error:
(P256;256 cile sin3data) write_image 'temp/temp.png'
|domain error: cd
| 'mem_to_png + i *c i i i i i i i'zjm(y;addr),(;/1 0
2{($m),1),((>:x);paddr;((#@(p"_))^:*paddr))
Looks like some issue with the call to libimage3.dylib.
Here with Darwin j602 and Snow Leopard.
view_data works OK, though...
Best, Charles
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm