* `PIXTYPE` is equal to `T`
* `convertToDT` is equal to `convertToT`
* `convertToWT`, `convertToDT` are unnecessary for `INTER_NEAREST`