patrikhuber / eos

A lightweight 3D Morphable Face Model library in modern C++
Apache License 2.0
1.89k stars 596 forks source link

extract_texture(...) overloads for Image3u and Image4u #309

Open patrikhuber opened 4 years ago

patrikhuber commented 4 years ago

Currently, some of the functions of the texture extraction expect Image4u, like create_mipmapped_texture, and sometimes Image3u is used. This could be made more consistent and perhaps we want to use Imageu4 everywhere. Or perhaps we want to make texture extraction overloads for both 3-channel and 4-channel input images.

Related: #308