On Feb 22, 7:36 pm, "sturlamolden" <sturlamol... at yahoo.no> wrote: > npy_int dim = {480, 640}; /* whatever the size of your data, in C- > order */ oops... npy_int dim[] = {480, 640};