withLayout

fun withLayout(newLayout: ImageLayout): Image<T, V>(source)

Create a copy with different layout (metadata only, no data transformation).

Note: This only changes the metadata. Use transpose for actual data transformation.