Generating SVG from PDF

Hi Aspose,

We are using Aspose to generate PDF preview and SVG thumbnail files when we are uploading document and image files to our system. We generage PDF file from input file, when generate SVG file (by using Aspose.Pdf.SvgSaveOptions). Normally it works great, but I found one large example image file generates huge SVG and it makes our system hard when it loads the SVG file. I have attached the example files. Could you suggest a best practice to handle this? We will use SVG file as a thumbnail, so we can reduce the resolution/size.

Currently what happens:
Example jpeg file (14mb) generates PDF file with 3.7 mb size
PDF file (3.7 mb) generates SVG file with 25.1 mb size. We want to reduce this file size significantly

Env:
Aspose 19.5.0 on .NET Core 2.1

I have already tried optimization option from this link, but no luck (Optimize, Compress or Reduce PDF Size in C#|Aspose.PDF for .NET

preview.pdf (3.6 MB)

@Peter.Park

Thank you for contacting support.

Would you please share SSCCE code along with source and generated files in a ZIP via Google Drive, Dropbox etc. so that we may try to reproduce and investigate it in our environment.

Thanks for your reply. ASPOSE is used as a part of our system currently, so I will make a small project running ASPOSE only and share. It will take some time.

@Peter.Park

Please take all the time you need and feel free to get back to us as per your convenience.

Hi Aspose,

I have taken our code of generating SVG to small standalone console project.
With this example, 3.5 mb input pdf file ends up with 40mb svg file.

Link to project: AsposeTest.zip - Google Drive
In the directory, I have placed input pdf and sample output svg file as well in Data\AsposePDF\QuickStart.

Thank you

@Peter.Park

Thank you for sharing requested data.

We have worked with the data shared by you and have been able to reproduce the issue in our environment. A ticket with ID PDFNET-46788 has been logged in our issue management system for further investigation and resolution. The ticket ID has been linked with this thread so that you will receive notification as soon as the ticket is resolved.

We are sorry for the inconvenience.

Thank I look forward to seeing the fix!

@Peter.Park

We will update you as soon as any significant update will be available in this regard.