see https://github.com/jcupitt/libvips/pull/213 this now works: VImage rows; VImage cols = in.profile( &rows );
and test_overloads.cpp has started working