GIMP plug-in for JBIG2-encoded PDF files
Go to file
2024-11-09 03:55:47 +11:00
COPYING Initial commit 2024-11-08 22:26:38 +11:00
COPYING.APACHE2 Encode JBIG2 losslessly 2024-11-09 03:55:47 +11:00
file-jbig2pdf.py Encode JBIG2 losslessly 2024-11-09 03:55:47 +11:00
jbig2topdf_lossless.py Encode JBIG2 losslessly 2024-11-09 03:55:47 +11:00
README.md Encode JBIG2 losslessly 2024-11-09 03:55:47 +11:00

file-jbig2pdf

GIMP 3.0 plug-in for exporting lossless JBIG2-encoded PDF files

Usage

file-jbig2pdf has only been tested on Linux. It requires jbig2enc to be installed, and its jbig2 command to be available on PATH.

Install file-jbig2pdf.py and jbig2topdf_lossless.py under $HOME/.config/GIMP/3.0/plug-ins/file-jbig2pdf/ and ensure that file-jbig2pdf.py is executable.

Set up your GIMP image as desired in the standard fashion for PDF export (one layer per page, bottom layer first) and under FileExport As…, expand Select File Type (By Extension) and select Portable Document Format (JBIG2).

Licence

Copyright © 2024 Lee Yingtong Li (RunasSudo)

file-jbig2pdf.py loosely adapted from GIMP file-openraster.py – Copyright © 2009 by Jon Nordby <jononor@gmail.com>, licensed under the GPLv3
In turn based on MyPaint source code by Martin Renold

jbig2topdf_lossless.py adapted from jbig2enc by Adam Langley agl@imperialviolet.org - Copyright (C) 2006 Google Inc., licensed under Apache v2

The file-jbig2pdf project is licensed under the GNU General Public License version 3 or later.