Closed huangqinjin closed 2 years ago
It would be helpful if you could explain rationale behind your suggestion, what's the use case.
Such that gray8_view_t
can convert to gray8_step_view_t
implicitly.
If there was one type of pixel/view/image available in GIL, such 'convenience' would make sense - wherever you see it missing - but it is a generic library... Unless, you present an actual problem or use case in form of a minimum working example, then it will be very hard to see what you really mean.
In this case, the memunit step is just
sizeof(pixel)
.