Function detectTextureFormat

Detects the supported texture format from a SuperImage.

bool detectTextureFormat(
  dlib.image.image.SuperImage img,
  out TextureFormat tf
);

Parameters

NameDescription
img The image to analyze.
tf Output texture format.

Returns

true if the format was detected successfully.