PocketSVG icon indicating copy to clipboard operation
PocketSVG copied to clipboard

Easily convert your SVG files into CGPaths, CAShapeLayers, and UIBezierPaths

Results 12 PocketSVG issues
Sort by recently updated
recently updated
newest added

It appears that removing the spaces between Arc's `large-arc-flag`, `sweep-flag` and `x` is permitted by popular SVG renders. I can't find this in the SVG spec but web browsers and...

### Steps to reproduce the issue 1. i have svgpath string like this 2. `""` 3. i want to display this svg string in imageview. ### Specifications - PocketSVG Version:...

Hello, I am trying to create a coloring app. I can read svg image and fill their backgrounds. I want to save my UIBezier paths as svg after coloring process...

question

### Steps to reproduce the issue use any svg file that has an image tag as in the following link: https://drive.google.com/file/d/11vDTB7wA8-RU0XvrEd6-jHjX_qoUKjQR/view?usp=sharing note that the image has a shadow witch is...

feature request

``` func drawSVG(){ let svgURL = Bundle.main.url(forResource: "test123", withExtension: "svg")! let paths = SVGBezierPath.pathsFromSVG(at: svgURL) for (index, path) in paths.enumerated() { let shapeLayer = CAShapeLayer() shapeLayer.path = path.cgPath shapeLayer.fillColor =...

### Steps to reproduce the issue 1. I try to render this SVG file: "https://upload.wikimedia.org/wikipedia/commons/f/fc/Flag_of_Mexico.svg" 2. Keep getting Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying:...

feature request

It might be useful if SVGLayer had a readonly property to access the path with the rendering transformation applied. ---- ## Original title: `path.contains(point)` correctly works only when SVGImageView contentMode...

question
feature request

Please consider adding Gradient support to PocketSVG. Right now, Gradients cause a crash due to expectation of fill color values instead of fill URLs. e.g. if I create a radial...

feature request

![test](https://github.com/pocketsvg/PocketSVG/assets/18410283/7dc923a1-f19c-4f54-9870-05174734030d) I lost some SVG details when I updated the 2.7.3 version, See the code after sure is [https://github.com/pocketsvg/PocketSVG/commit/42078d1040cb35b45d9af167ad3aa88d8e69e4f2](url) the problems after the commit, I deleted this update and everything...

### Steps to reproduce the issue The test won't crash on iOS16, but it will crash on iOS14.6 Crash screenshot: ![image](https://github.com/pocketsvg/PocketSVG/assets/16473264/555a68f2-f087-4401-a858-d7ea917324b4) ![image](https://github.com/pocketsvg/PocketSVG/assets/16473264/02c61d5b-7947-4d84-9fbe-06805c96d32f) Has anyone come across it? Is there any...