Aspose .net Image Stamp in PDF

We are having an issue with aspose.net and would like some assistance. I conducted several tests, debugged the application multiple times, and concluded that the issue arises because Aspose is not inserting the image into the PDF due to the code running on a Linux container. This explains why the logo is added as expected when I execute the code on my machine. Initially, I suspected it might be related to the Aspose license. However, I manually integrated the license into the code, and no exceptions were thrown; moreover, the code continued to work locally and exhibited the same behavior in UAT. I attempted various Aspose methods to add the image to the PDF, but all were unsuccessful. Another point of interest was when I tried using Aspose’s addImage method, which threw an exception stating “System.Drawing.Common is not supported on non-Windows platforms.” After some research, I found that this method is indeed not recommended as it is not cross-platform. Therefore, the suggested method is to use AddStamp, which we are currently using, but it is not functioning.