Gomi42 ShapeConverter Save

Convert Adobe Illustrator, Adobe Photoshop, SVG and EPS files to WPF/XAML shapes

Project README

ShapeConverter

The ShapeConverter converts vector data into WPF/XAML shapes. The main intention is to convert icons and logos you get from your designer so that you can use the icons and logos as vector data in your WPF projects.

intro

Supported input file types
  • Adobe Illustrator (*.ai)
  • Adobe Photoshop (*.psd, *.psb)
  • Encapsulated Postscript (*.eps)
  • Scalable Vector Graphic (*.svg, *.svgz)
Multiple output formats
  • StreamGeometry for single color shapes, allows to set the color at runtime
  • DrawingBrush for multi color shapes
  • C# source code to generate a Geometry with variable dimensions at runtime
  • 24 output formats
All input files support
  • linear and radial gradients
  • transparency (except EPS) including transparent gradients
More features
  • the generated data do not contain any transformations (one of the main goals of the ShapeConverter's generated code)
  • clipping regions are removed if possible or at least minimized and optimized
  • the XAML does not contain any transformation, the transformations are incorporated into the coordinates of each resulting shape so that a single Geometry is a valid shape without further information needed
  • normalize the coordinates to the range 0..100 (default) to decouple the generated data from the designer's coordinate space
  • selectively deselect parts of the shape if the shape consists of multiple shapes
  • show a background checkboard to verify transparencies of the shape
  • drag & drop a file
  • reverse engineer a given stream geometry in the Stream tab
  • single executable, no installation required
Export
  • Icon (*.ico) with all resolutions 16x16, 32x32, 64x64, 128x128, 256x256
  • Image (*.png, *.jpg, *.tiff, *.bmp)
  • GIF (*.gif)
  • Scalable Vector Graphic (*.svg, *.svgz)
  • Encapsulated Postscript (*.eps)
The ShapeConverter uses the following open source libraries
  • PdfSharp from Stefan Lange, empira Software GmbH
  • psd-parser from Ntreev Soft co., Ltd.
It's not dead, it's done

You might have noticed there isn't much activity here. It's not because the project is unmaintained, it's because the ShapeConverter is done, it just works. Way more features are implemented than were planned at the beginning, the ShapeConverter has reached a state where it serves all conversion needs for the daily use very well. EPS and SVG standards are not 100% supported but the importers support far more than you'll ever encounter in your SVG or EPS icons (e.g. CSS style sheets in SVG). If more is needed it will be implemented.

Forks
  • You must not create a fork unless you want to contribute to the ShapeConverter
  • The forks from the following users just mess up the fork list and must be ignored (the forks exist just because they can and don't contribute anything): Egaros, 93lab, 0000duck, justinhachemeister
Open Source Agenda is not affiliated with "Gomi42 ShapeConverter" Project. README Source: gomi42/ShapeConverter
Stars
73
Open Issues
0
Last Commit
7 months ago
License

Open Source Agenda Badge

Open Source Agenda Rating