removed img_array from private _determine_colorspace method, closes #297
merge branch 'issue297' into devel