Hi there,
I recently discovered when wrapping libtiff using ctypes that for the
TIFFSetField call for X and Y Resolution tags I had to cast the python
value as a c_double not a c_float
ctypes.c_double(xresolution)
ctypes.c_double(yresolution)
HTHs,
Cheers,
Matb
Comment #3 on issue 2 by pearu.peterson: Setting Resolution tags in header
seems broken
http://code.google.com/p/pylibtiff/issues/detail?id=2
This issue was closed by revision r55.
Thanks for the hint, Matb. I have applied the corresponding fix to SVN and
the given example works correctly now.