We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Aspose.Word DetectFileFormat

Hello,

I use Aspose.Words.FileFormatUtil.DetectFileFormat for detecting file format.
This function recognize *.tif files as Text.
Is it correct?

@Andrei86 FileFormatUtil.DetectFileFormat detects only formats which can be loaded into the Document class. *.tif image cannot be loaded and detected as LoadFormat.Text because it cannot be detected as other supported formats. If you are interested in the fix so *.tif images will be detected as LoadFormat.Unknown please let us know. We will pass this request to the developers.

I use Aspose.PDF v21.12.
FileFormatUtil.DetectFileFormat returns for some tiff files detected format as Aspose.Words.LoadFormat.Text

I tried some examples of tiff files from here:

@Andrei86 I have logged your issue as WORDSNET-23492 in our defect tracking system. We will keep you informed and let you know once it is resolved.

The issues you have found earlier (filed as WORDSNET-23492) have been fixed in this Aspose.Words for .NET 22.3 update also available on NuGet.