withColorSpace

fun withColorSpace(newColorSpace: ColorSpace): Image<T, V>(source)

Create a copy with different color space interpretation (metadata only).

Note: This only changes the metadata. Use conversion functions for actual color transformation.