Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf(oiiotool): oiiotool --mosaic improve type conversion (#3979)
`oiiotool --mosaic` was always allocating a `float` buffer for the result. Instead, make it use the "widest" data type of the input images. So, for example, if you are making a mosaic of uint8 images, the result buffer should be uint8, not have to allocate 4x bigger nor do uint8->float conversions as it pastes the images. Signed-off-by: Larry Gritz <[email protected]>
- Loading branch information