Hi Apose team,
We have bought your libraries and implemented it in our software. But we find that find the Image.GetFileFormat() and Image.Load() methods in Aspose.Imaging.dll aren’t safe on MTA.
We have prepared a demo, in this demo, I will get an exception that the file is accessed by another process, bu I’m sure I did’t have another process is accessing the files.
If I use Image.GetFileFormat() or Image.Load() separately, I won’t get the exception(we tried it about 20 times). But if I use them together I will get the exception in a high probability.
And I am not sure if there are any other similar methods also have similar problems.
Would you please have a look?
image.jpg (61.2 KB)
Here are the demo files:
Notes: Please enter your own Aspose license and private key in license.cs file in the demo files. Please try multiple times, since it’s not very easy to reproduce.
Here is the test files:
If you find it’s your library bug, then the other libraries like GroupDocs.Metadata.dll, Aspose.Pdf.dll may also have the same problem. Please also check them. Thanks.