Image loading failed exception on linux

Trying to convert the .tiff file to a pdf using the file path, but it is throwing an Image loading failed exception on linux. But it was working on windows.

Aspose.Imaging = 23.3.0
.Net Target Framework = net6.0

Here is my code -

public void ConvertImageFileToPdf()
{
    string sourceFileName = @“D:\Ext._Data_Fig_S1_(111622).tif”;
    string pdfFile = @“D:\Ext._Data_Fig_S1_(111622).pdf”;

	using (var img = Aspose.Imaging.Image.Load(sourceFileName))
    {
        PdfOptions exportOptions = new PdfOptions();
        exportOptions.PdfDocumentInfo = 
		new Aspose.Imaging.FileFormats.Pdf.PdfDocumentInfo();
        img.Save(pdfFile, exportOptions);
    }
}

Ext.Data_Fig_S1(111622).tif.zip (483.0 KB)

Hello, @amolm
Let us process your request. You will be answered shortly!

@amolm, could you share error message? Provided code does not error on both win and linux.

{
“code”: “technical-exception”,
“description”: “Image loading failed.”,
“elementref”: " at Aspose.Imaging.Image.#=zo_GaYL$T6sSl(StreamContainer #=zCbsbPRPZONgm, LoadOptions #=zZQyn7HJAKgN$, #=zimylCFz5lXHkYdtrZBPs1QmqwsaUT8qN3s9FKQc= #=ztlRwXbY=)\n at Aspose.Imaging.Image.Load(String filePath)\n at acdc.reference.pdf.generation.core.VendorlessAuthorReferencePDF.ConvertImageFileToPdf(String filePath, String pdfFile) in /tmp/build/80754af9/git/Domain/acdc.reference.pdf.generation.core/Services/VendorlessAuthorReferencePDF.cs:line 248\n at acdc.reference.pdf.generation.core.VendorlessAuthorReferencePDF.ConvertFilesToPdf(List`1 pdfFilePaths, JObject brokerMessage) in /tmp/build/80754af9/git/Domain/acdc.reference.pdf.generation.core/Services/VendorlessAuthorReferencePDF.cs:line 183"
}

@amolm, provided error message did not still help us much. We prepared a solution, I used to convert attached Tiff to Pdf. Hope it helps.
TiffToPdf.zip (513.4 KB)

So now that I I’m trying to erase and read download it’s not recognizing the drive on multiple cpus and a VM this isn’t my first time using tails but definitely the first time I’ve had this happen.pikashow.fyi
ppssppgold.one

@rajnath112223, unfortunately, I do not understand your request. Could provide some details on what is going wrong?
As concerns the attached above Zip, you could try decompress it and open it with a C# dev environment like VisualStudio or Rider.