Skip to main content

Convert to/from v6 .rm files from the reMarkable tablet

Project description

rmc

Command line tool for converting to/from remarkable .rm version 6 (software version 3) files.

Installation

To install in your current Python environment:

pip install rmc

Or use pipx to install in an isolated environment (recommended):

pipx install rmc

Usage

Convert a remarkable v6 file to other formats, specified by -t FORMAT:

$ rmc -t markdown file.rm
Text in the file is printed to standard output.

Specify the filename to write the output to with -o:

$ rmc -t svg -o file.svg file.rm

The format is guessed based on the filename if not specified:

$ rmc file.rm -o file.pdf

Create a .rm file containing the text in text.md:

$ rmc -t rm text.md -o text.rm

SVG/PDF Conversion Status

Right now the converter works well while there are no text boxes. If you add text boxes, there are x issues:

  1. if the text box contains multiple lines, the lines are actually printed in the same line, and
  2. the position of the strokes gets corrupted.

Acknowledgements

rmc uses rmscene to read the .rm files, for which https://github.com/ddvk/reader helped a lot in figuring out the structure and meaning of the files.

@chemag added initial support for converting to svg and pdf.

@Seb-sti1 made lots of improvements to svg export and updating to newer rmscene versions.

@ChenghaoMou added support for new pen types/colours.

@EelcovanVeldhuizen for code updates/fixes.

@p4xel for code fixes.

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

rmc-0.3.0.tar.gz (10.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rmc-0.3.0-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

Details for the file rmc-0.3.0.tar.gz.

File metadata

  • Download URL: rmc-0.3.0.tar.gz
  • Upload date:
  • Size: 10.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for rmc-0.3.0.tar.gz
Algorithm Hash digest
SHA256 57afe14d56694085b6a382aa2b93b7b86eb21e93e720b16a82990aa0d6513dcb
MD5 40205dddb7911b7df34112ce1cca14ad
BLAKE2b-256 f0005e05be08e8905f888ece9e5835b96e4ec3aabb480cce564c4ec5e5e0ca32

See more details on using hashes here.

Provenance

The following attestation bundles were made for rmc-0.3.0.tar.gz:

Publisher: release.yml on ricklupton/rmc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rmc-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: rmc-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 12.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for rmc-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f2957bf08c48902bf50b047ee08aeb0be5a8c0a64bf7a1a46e23ae02c0c75780
MD5 e30a75bbbd9a74afa85e73759f922484
BLAKE2b-256 a8b0486783b0321557d4294195e73e10b58dc5b5e1ac8519791c48160f863097

See more details on using hashes here.

Provenance

The following attestation bundles were made for rmc-0.3.0-py3-none-any.whl:

Publisher: release.yml on ricklupton/rmc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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