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

Free Support Forum - aspose.com

An image becoming all white and text corruption in some images

@shun1985,
I have analyzed the issue more using ubuntu as follows:

  1. Got latest ubuntu docker image here and got the image using the following command:
    docker pull ubuntu

  2. Once the image is downloaded, executed it alongwith mounting my project folder
    docker run -it -v /Users/testuser/projects/:/projects ubuntu_dotnetcore:ver1 bash

  3. Following commands are executed in the container

  • apt update && apt upgrade

  • apt install wget

  • apt-get install sudo

  • wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb

  • sudo dpkg -i packages-microsoft-prod.deb

  • sudo apt-get update; \
    sudo apt-get install -y apt-transport-https && \
    sudo apt-get update && \
    sudo apt-get install -y dotnet-sdk-3.1

  • sudo apt-get install libgdiplus

  • ln -s libgdiplus.so gdiplus.dll

  • sudo apt-get install libc6-dev

  1. When the installation was completed, then executed the program as follows:
  • dotnet run
    This command created the PDF fine and no image is white. Here is the output file attached for your reference:
    source_template.pdf (36.0 KB)

@ahsaniqbalsidiqui,

I report back that I have been able to replicate the issue with docker + ubuntu.
Thank you very much. I attached the converted pdf file.
result1_shun1985.pdf (37.1 KB)

@shun1985,
I have opened your PDF file and could not observe any issue as no white image is there. Could you please confirm if you have shared the right output file? Here is the comparison of your original PDF file and last PdF file result1_shun1985.pdf.
Comparison.jpg (242.7 KB)

@ahsaniqbalsidiqui,

I’m sorry, this is due to my misleading expression “replicate the issue”.
I should have written “replicate the fix” as I meant to report that this fix have been well reflected.

So I have confirmed the two issues below are already resolved actually.
1. One image becomes all white (this is a Bitmap Image Object in the original Excel file) (page1)
2. Characters in an image are partly cutted off and seems mal-positioned (page1).

@shun1985,
Thanks for confirming the fixes. Should you have any query or issue with Aspose.Cells, feel free to contact us, we will be happy to assist you soon.

@ahsaniqbalsidiqui,

I’m always thankful for your great assistance !!

@shun1985,

Issue 3) is also resolved. We will provide the fix (Aspose.Cells for .NET Standard) in the next few days.

Keep in touch.

@shun1985,

Please try our latest version/fix: Aspose.Cells for .NET v20.10.1 (attached)

Your issue should be fixed in it.

Let us know your feedback.
Aspose.Cells20.10.1 For .Net2_AuthenticodeSigned.Zip (5.4 MB)
Aspose.Cells20.10.1 For .Net4.0.Zip (5.4 MB)
Aspose.Cells20.10.1 For .NetStandard20.Zip (5.4 MB)

@Amjad_Sahi

Thank you very much !
I’ll check the fix and report the feedback to you.

@Amjad_Sahi

I surely observed the fix has been reflected.
It’s amazing ! Here is an image file which represents the part concerned.
last_fix_excel-to-pdf.png (19.1 KB)

I appreciate pretty much.

@shun1985,

Thanks for your confirmation with the image.

We are glad that your issues are sorted out now. In the event of further queries or issue, feel free write us back.

The issues you have found earlier (filed as CELLSNET-47618) have been fixed in this update. This message was posted using Bugs notification tool by simon.zhao