JohnNKing / snbopen

convert samsung S-note files (.snb) to pdf or open them.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

snbopen

convert samsung S-note files (.snb) to pdf

use (Docker)

  1. if you don't have it, install Docker (e.g. https://www.docker.com/products/docker-desktop)
  2. place your .snb files in ./files
  3. run "docker-compose up"
  4. ./files will now also contain the converted PDF files

use (native)

just run snbopen.py snbfilename [pdffilename]. the script converts the file into pdf and open it with your default application for pdf files. if you supply the script with a pdffilename, it will save the pdf to the required file insteed of opening it.

to convert all files in all subdirectories run convertInAllSubDirectories.sh.

dependencies

the script should run on python (v2), and require reportlab and PIL (Pillow).

TODO

  • text handling is very poor

About

convert samsung S-note files (.snb) to pdf or open them.

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 96.6%Language:Dockerfile 2.6%Language:Shell 0.8%