PDF to SVG conversion

We are converting the PDF or AI file to SVG with given c# code.

       spath="PDF or AI file path";

destinationPath=“SVG file path”;
var document = new Document(spath);
document.Save(destinationPath, Aspose.Pdf.SaveFormat.Svg);

Hex color value is different in converted SVG. We need same hex value should be same

Sample Pad Print Artwork_CMYK.pdf (362.5 KB)

@lukeshbhave14,

Can you tell me which section of the SVG is wrong?

I am using Microsoft power toys color picker, adobe acrobat pro, and Microsoft Edge and I see no difference, but it may be in a particular place I haven’t noticed.

Where is the difference you noticed?

Here are the filesSample Pad Print Artwork_CMYK.pdf (362.5 KB)
convertedsvghexvalue.PNG (41.5 KB)
pdfhexvalue.PNG (57.9 KB)

@lukeshbhave14,

What is the tool you are using?

Because I retested it with the color picker from Microsoft Power tools, and I saw no difference.
Can you try using Power Tools? and see what results you get?

Also, the code I get is different from yours.

EDIT: Can you also provided the result of the conversion, please.?

I am checking in illustrator tool and that tool showing the color hex value differences in input file(PDF) and output/converted file(SVG).

All the other section of SVG are correct just showing the color hex value differences.

@lukeshbhave14,

Using a web tool that only takes images, I was able to check the SVG file and the hex was different.

I will create a ticket for the dev team.

@lukeshbhave14
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): PDFNET-54538

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.