Home

Awesome

BIFF

Extract text and images from highlighted pdf generated with reMarkable tablet.

Versions

Version 2.2

Version 2.1

Installation and usage

Excecutables with User Interface

For Windows and Linux users, you can download executables with User interface in releases.

Command line

biff requires the following modules :

biff needs Python 3/pip3

$ git clone https://github.com/soulisalmed/biff.git					

Install the dependencies. It is recommended to use a virtual environment:

$ cd biff
$ python3 -m venv venv
$ source ./venv/bin/activate
$ pip install -r requirements.txt	

To run Biff :

$ source <biff folder>/venv/bin/activate				
$ python -m biff my_highlighted.pdf
$ ./Biff_UI.py			

On the command line (cmd.exe):

biff_v2.1.exe my_highlighted.pdf

Usage:

$ python -m biff -h                
usage: biff [-h] [-c] [-q QUALITY] [-o OUTPUT_FOLDER] [pdf [pdf ...]]

Extract highlighted text and framed images from PDF(s) generated with
reMarkable tablet to Openoffice text document. Highlighted text will be
exported as text. Framed areas will be cropped as images.

positional arguments:
  pdf                   PDF files

optional arguments:
  -h, --help            show this help message and exit
  -c, --two-columns     For two-columns pdf, parse columns from left to right
  -q QUALITY, --quality QUALITY
                        Quality of extracted images, default=2 higher values
                        for higher quality
  -o OUTPUT_FOLDER, --output-folder OUTPUT_FOLDER
                        Output folder for ODT files

Recommendations for pdf highlighting on the reMarkable tablet

alt text

Enjoy and please send some feedback.