gimp-file-jbig2pdf/README.md

23 lines
1.1 KiB
Markdown
Raw Permalink Normal View History

2024-11-08 22:40:50 +11:00
# file-jbig2pdf
2024-11-09 03:55:47 +11:00
GIMP 3.0 plug-in for exporting lossless JBIG2-encoded PDF files
2024-11-08 22:40:50 +11:00
## Usage
2024-11-09 03:55:47 +11:00
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.
2024-11-08 22:40:50 +11:00
2024-11-09 03:55:47 +11:00
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.
2024-11-08 22:40:50 +11:00
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)
2024-11-09 03:55:47 +11:00
*file-jbig2pdf.py* loosely adapted from GIMP file-openraster.py – Copyright © 2009 by Jon Nordby \<jononor@gmail.com\>, licensed under the GPLv3\
2024-11-08 22:40:50 +11:00
In turn based on MyPaint source code by Martin Renold
2024-11-09 03:55:47 +11:00
*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.