Issue when converting EPS to JPG

Hi @Denis.Sitko ,
MicrosoftTeams-image (39).png (13.6 KB)

I have used above code and converted eps to jpg from my windows system.
But same code which is ruining in Linux container which is not converting the eps to jpg as expected.


@rgksekhar9 , here you are!
GP1208871.eps-Lic.png (59.2 KB)

Can we have a teams call, we will show the issue from my system?


@rgksekhar9 , could you share the error stack trace or other data making a show case for us to explore instead? Normally we use the forum for discussions. By the way, you can create a separate private thread, so only we see the conversation.

I am not getting any error. The call is success but am not seeing the image content.

Its generating only blank page.

@rgksekhar9 , You are facing the issue that occurs on Linux with System.Drawing library resulting in blank page. I would recommend you using Aspose.Imaging for .NET7 with Aspose.Drawing embedded as a graphics engine. We are also working on Aspose.Imaging.Drawing package with Aspose.Drawing for earlier than Net7 versions.
Hope this helps!

To bypass system.drawing , we have added below code in the docker file
and in the C# code
System.AppContext.SetSwitch(“System.Drawing.EnableUnixSupport”, true);

RUN apt-get update
RUN yes | apt-get install -y apt-transport-https
RUN yes | apt-get install -y libgdiplus
RUN yes | apt-get install -y libc6-dev

Am not seeing any errors but its not generating the image as expected in .net 6.

@rgksekhar9 , here is the link to Aspose.Imaging install guide:

Net6 version still uses System.Drawing since it does not embed Aspose.Drawing graphics engine. Net7 version is standalone. However, Net6 Drawing standalone is coming soon.
We can feedback you on its release!