can't imread or imwrite in python
my first go at the python api (on win, 2.4.9),
built cv2.pyd, but i can't imread ( result always None)
or imwrite ( "could not find a writer for the specified extension" )
checked the pyd with dependancy walker, it's using the same dlls as my c++ code does (no problem there, png, jpg support built in )
other stuff in python seems to work well, e.g opening a videocapture / imshow
Edit:
oh, fun, it turns out all strings i pass into the opencv api come out empty.
indeed, imwrite can't find a writer for 'empty string', but why doesn't it tell me ?
and why does it happen in the first place ?
using VS2008 here, python2.7.3 python2.7.1 suspecting strange string settings, unicode woes, python compiled against a different runtime, hell, that's the stuff i hate most ;(