start colour unit test
add @profile option to pngsave

tiff and jpeg save both have a @profile option, this patch adds one to png as
well, see

https://github.com/jcupitt/libvips/issues/180
Merge branch '7.40'
clean up length return

read file to mem was using uint for length for historical reasons