Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jvns/svg2notability
convert from svg to notability format
https://github.com/jvns/svg2notability
Last synced: 16 days ago
JSON representation
convert from svg to notability format
- Host: GitHub
- URL: https://github.com/jvns/svg2notability
- Owner: jvns
- Created: 2018-04-01T00:12:55.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-04-01T03:15:30.000Z (over 6 years ago)
- Last Synced: 2024-05-23T04:41:48.574Z (6 months ago)
- Language: Python
- Size: 14.6 KB
- Stars: 134
- Watchers: 9
- Forks: 9
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### SVG (or PDF) to notability
This is a very hacky Python script that converts from PDF format to the proprietary Notability
format (Notability is an iOS note-taking app), so that you can **edit** (not just annotate) the
resulting files in Notability.This was written for my own personal use (converting handwritten documents exported from Squid on
Android) and may or may not work for anyone else. Sharing this because I spent 5ish hours writing
it, in the hopes that it may be useful to someone else.### requirements
* plistutil on Linux
* Inkscape### usage
```
pip install -r requirements.txt
# creates my-file.note in current directory
python svg2notability.py my-file.pdf
# works with svg or pdf
python svg2notability.py my-file.svg
```### limitations
* only handles an extremely limited subset of SVGs. your average SVG will probably not work
* can't create notes with multiple pages
* gets your page sizes wrong
* doesn't handle squares
* probably lots more things I'm leaving out