[erlang-questions] ex11 ePutImage

Sten Kvamme sten@REDACTED
Tue Apr 22 20:56:23 CEST 2008


Hi,

I can't get this ePutImage to put any image on screen. When I think I  
have all parameters right I get: {error,6291463,14,{length, 
72,0,<<>>}} from the X server.

I am using:
{ok,{Wbin,Hbin,Data}} = ex11_lib_read_jpeg:file("joe.jpg"),
xDo(Pid, ePutImage(Win, GC, Wbin, Hbin, 1, 1, 0, 24, list_to_binary 
(Data))),

BR,
Sten



More information about the erlang-questions mailing list