I want to convert byte array into SVG document in .net core 2.0 . The very first thing i did is looked for the .net Core 2.0 library Which i didn't found then i implemented a class library in net framework targeting 4.6 as it is already there.Conversion of byte array into svg document in .net framework .And when i am trying to use this framework library it is throwing run time error like PresenationCore assembly not found. So is there any way to do it in net core?
Asked
Active
Viewed 514 times
0
-
Saying you have a "byte array" isn't really helpful. What is the format of those bytes? – DavidG Mar 06 '19 at 10:54
-
@DavidG memory stream – SURJEET SINGH Bisht Mar 06 '19 at 11:02
-
Yes, but what is in there? SVG isn't a byte array structure, it's basically XML. – DavidG Mar 06 '19 at 11:03
-
@DavidG we are fetching data from mongodb and possibly its in JSON – SURJEET SINGH Bisht Mar 06 '19 at 11:31
-
"possibly" is no use to us at all! – DavidG Mar 06 '19 at 11:32
-
@DavidG its in JOSN – SURJEET SINGH Bisht Mar 06 '19 at 11:36
-
OK, what is the format of the JSON? SVG cannot be represented in JSON so this makes no sense. – DavidG Mar 06 '19 at 11:37
-
@DavidG this is the binary which is taken from pen device object – SURJEET SINGH Bisht Mar 06 '19 at 12:51