svg_utils icon indicating copy to clipboard operation
svg_utils copied to clipboard

Python tools to create and manipulate SVG files

Results 46 svg_utils issues
Sort by recently updated
recently updated
newest added

Hi, I'm trying to open a svg file as a template and position objects programmatically. ![SVGTest](https://user-images.githubusercontent.com/5979046/153884093-c6216e76-503e-4dd5-815a-5135d33a3b72.svg) I expected a new file with the rectangle and the circle but not the...

Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2.2.1 to 4.2.0. Release notes Sourced from actions/setup-python's releases. Add check-latest input and bug fixes In scope of this release we add the check-latest input. If check-latest ...

dependencies

Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.4 to 3.0.2. Release notes Sourced from actions/checkout's releases. v3.0.2 What's Changed Add set-safe-directory input to allow customers to take control. by @​TingluoHuang in actions/checkout#770 Prepare changelog...

dependencies

Fixed the behaviour of FigureElement coy, it now creates a deep copy of self instead of the root xml_element

Width and height aren't correctly set in the XML if `transform.SVGFigure` is created directly: ```python import svgutils svgutils.transform.SVGFigure("10cm", "16cm").to_str() ``` prints ```python b'\n\n' ``` This code is used in the...

This is possible in an `.svg` file, as indicated by this stackexchange post [1]. I also have created them and they render just fine. Further, your code seems to already...

E.g. ``` svg-utils join a.svg b.svg > c.svg svg-utils join --horizontal a.svg b.svg > c.svg ```

## What it would be nice to have more examples that can be downloaded and adapted by the user, this examples should be shown in an easy to browse gallery...

good first issue

Like the title says, copying e.g. a `svgutils.transform.GroupElement` returns a `lxml.etree._Element`, not a new `GroupElement`. That means that if you try to copy an Element instead of reading it from...