Skip to content

Latest commit

 

History

54 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Portable Inkscape executable for linux and windows

Current shipped Inkscape version: 1.2.2

Example usage:

using System.Text;
using CliWrap;
using Inkscape;

using MemoryStream stdOut = new();
using MemoryStream stdError = new();

Command command = Cli
    .Wrap(InkscapePaths.InkscapeExecutablePath)
    .WithArguments(InkscapePaths.InkscapeExecutableRequiredArgs.Concat(new[] { "--version" }));
try
{
    await (command | (stdOut, stdError))
        .ExecuteAsync();
}
catch (Exception ex)
{
    string errorMessage = Encoding.UTF8.GetString(stdError.ToArray());
    throw new(errorMessage, ex);
}

string message = Encoding.UTF8.GetString(stdOut.ToArray());
Console.WriteLine(message);

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages