OK, so I got a c2nim version working. Strangely, instead of a random integer or 
the correct value img.w/h is now returning 0. Only obvious difference between 
its implementation and mine is that it used the bycopy pragma on the Image 
type, but there must be something else going on. Not sure what accounts for the 
difference.

Reply via email to