FormatDetector

FormatDetector

Overview

FormatDetector is a class in Aspose.3D FOSS for Python.

FormatDetector.detect detects the file format of the provided stream, using the optional file name, and returns a FileFormat.

This class provides 2 methods for working with FormatDetector objects in Python programs. Available methods include: __init__, detect. All public members are accessible to any Python application after installing the Aspose.3D FOSS for Python package.

Methods

SignatureDescription
__init__()
detect(stream, file_name: str)'FileFormat'Not implemented in the FOSS edition — throws at runtime. Detects the file format of the provided stream, using the optional file name, and returns a FileFormat

See Also