Use InsertImage with DocumentBuilder throws 'Parameter is not valid. FileFormat=Unknown'

Use InsertImage with DocumentBuilder throws ‘Parameter is not valid. FileFormat=Unknown’

I can open the jpeg file on Windows Explorer, but cannot insert image into word document via aspose.words. Using latest nuget 23.10

File was formatted as HEIC and I can use MagickImage to convert image first to jpeg and call InsertImage.

case closed.

@LykkePerC2IT It is perfect that you managed to resolve the problem. But, If possible, could you please attach the problematic image here for testing? We will check it on our side.