pplatimg for linux64 use gdk, I found that it need some minor modifications to
work correctly.
1. change *i in gdk_pixbuf_new_from_data to *c (see 4.)
2. change i to x in all other signature.
3. change the line
z=. (h,w) $ memr a,0,(w*h),JINT to
_4]\ memr a,0,(4*w*h),JCHAR
then rearrange byte order and apply _2&ic
4. similarly in writeimg1 & putimg1, amend lines
x=. rgba2bgra rgbmat x
gdk_pixbuf_new_from_data x;0;1;8;w;h;(4*w);0;0
such that x is character vector
pplatimg using 64-bit gdi+ should also need fix but I haven't checked.
regards,
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm