Skip to main content

An unofficial converter library for Ratta Supernote

Project description

supernote-tool

supernote-tool is an unofficial python tool for Ratta Supernote. It allows converting a Supernote's *.note file into PNG image file without operating export function on a real device.

This tool is under development and may change.

Installation

$ pip install supernotelib

Usage

To convert first page of your note into PNG image:

$ supernote-tool convert your.note output.png

To convert all pages:

$ supernote-tool convert -a your.note output.png

If you want to specify page number to convert:

$ supernote-tool convert -n 3 your.note output.png

You can colorize a note by specifing alternative color codes in order of black, darkgray, gray and white. Note that use #fefefe for white because #ffffff is used for transparent.

To convert black into red:

$ supernote-tool convert -c "#ff0000,#9d9d9d,#c9c9c9,#fefefe" your.note output.png

To convert into SVG file format:

$ supernote-tool convert -t svg your.note output.svg

To convert all pages into PDF file format:

$ supernote-tool convert -t pdf -a your.note output.pdf

You can also convert your handwriting to vector format and save it as PDF with --pdf-type vector option. Note that converting to a vector takes time.

$ supernote-tool convert -t pdf --pdf-type vector -a your.note output.pdf

To extract text from a real-time recognition note introduced from Chauvet2.7.21:

$ supernote-tool convert -t txt -a your.note output.txt

For developers, dump note metadata as JSON format:

$ supernote-tool analyze your.note

Supporting files

  • *.note file created on Supernote A5 (Firmware SN100.B000.432_release)
  • *.note file created on Supernote A6 X (Firmware Chauvet 2.7.21)
  • *.note file created on Supernote A5 X (Firmware Chauvet 2.7.21)

License

This software is released under the Apache License 2.0, see LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

supernotelib-0.4.0.tar.gz (24.9 kB view details)

Uploaded Source

Built Distribution

supernotelib-0.4.0-py3-none-any.whl (35.4 kB view details)

Uploaded Python 3

File details

Details for the file supernotelib-0.4.0.tar.gz.

File metadata

  • Download URL: supernotelib-0.4.0.tar.gz
  • Upload date:
  • Size: 24.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for supernotelib-0.4.0.tar.gz
Algorithm Hash digest
SHA256 0c873f3ce8455f6086c2474d32c4bdf0a6ac0032f26b1e61512958785220ad22
MD5 78b2302643bb7f31767c6337300a7b28
BLAKE2b-256 f43346e4eed3c73ca60f35035d4be285acd9928a1653251d2125bcc68dc0d7e8

See more details on using hashes here.

File details

Details for the file supernotelib-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for supernotelib-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1b1cdb2a1919c3361f88ee746b2acc5f8b514a0d4d1e3300cbbff3d9dfb8b11e
MD5 0e4ec31152ead9aaa6a1ea5e402f2fb4
BLAKE2b-256 28215964417c4c04caa6535d9060ee18c2a97009d655943b9fc36f1b9e5f52f1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page