I am working on converting PNB files to SVG using inkscape. I tested with shelling the command below and it works fine when I am logged into our staging server. When the same code gets called from our ASP.NET code, it hangs up. On the staging server I see 2 processes get started up: inkscape.com and inkscape.exe . I am wondering if the code is posting a dialog, I saw it the first time I ran the code. The app pool is configured to run as "ApplicationPoolIdentity" , so I cannot login as that user to test this.
I apologize if my answer doesn't make sense, I am very new to images, but I have been developing applications for quite a while. In short, we have a phone app that captures a signature when someone signs for a delivery. This image comes in as a PNG. I have been tasked with taking these PNG files and converting them to a SVG file, keeping/storing 2 seperate files.
Thank you for the reply, I will take a look at Auto Trace. Any idea what is happening when I shell InkScape ? It works correctly ( or at least seems to ) when I shell it under my account. An SVC file gets created. When called via our website , it seems to hang when the shell process gets started.
Hello.
I am working on converting PNB files to SVG using inkscape. I tested with shelling the command below and it works fine when I am logged into our staging server. When the same code gets called from our ASP.NET code, it hangs up. On the staging server I see 2 processes get started up: inkscape.com and inkscape.exe . I am wondering if the code is posting a dialog, I saw it the first time I ran the code. The app pool is configured to run as "ApplicationPoolIdentity" , so I cannot login as that user to test this.
Command: inkscape jeff.png --export-plain-svg=jeff.svg -z
First things first: Are you trying to vectorize a raster image by saving it as SVG? That will not work to convert the object into paths.
I apologize if my answer doesn't make sense, I am very new to images, but I have been developing applications for quite a while. In short, we have a phone app that captures a signature when someone signs for a delivery. This image comes in as a PNG. I have been tasked with taking these PNG files and converting them to a SVG file, keeping/storing 2 seperate files.
Does that make sense ?
I'd recommend using a command line program, such as autotrace.
https://github.com/autotrace/autotrace
(That is, if the signature drawing is not pressure sensitive, like those of our mail service guys)
Thank you for the reply, I will take a look at Auto Trace. Any idea what is happening when I shell InkScape ? It works correctly ( or at least seems to ) when I shell it under my account. An SVC file gets created. When called via our website , it seems to hang when the shell process gets started.
If both processes you describe are running on the server, with the same Inkscape program, I'd look into permissions.
I'd also look at the error logs.
If you mean running on your own computer vs. on the server, I'd look into command line usage a bit deeper:
-z isn't required. I think the -l option has only been added recently, you might like to compare version numbers.