I have deleted the entire addons/media/image3 directory, and verified
that I had no other files or directories named image3 under j601.

I then used package manager to re-install image3.

I then tried Cliff's suggestion, and:

  load '~addons\media\image3\view_m.ijs'
  view_image b=:256 256$Hue (i.%<:)255
256 256
  b write_image '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))
  cder''
1 0

I got the diagonal colors from view_image, but as you can see I
am not able to generate an image file.

Also, I believe I am runnng j601c:

  9!:14''
j601/2006-11-17/17:05

Also, to make sure I wasn't having file system problems, I tried;

  (,512 512$a.) 1!:2<'temp.png'

This completed without errors, and generated the expected file.
(Which, of course, was not a valid image file.)

Finally, I'm not sure what:

  are all other test lines in the view_m.ijs file working

meant, but view_image worked fine.

Thanks,

--
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to