23 lines
1.1 KiB
Markdown
23 lines
1.1 KiB
Markdown
# 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](https://github.com/agl/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 *File* → *Export 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.
|