didjvu (0.11.0) unstable; urgency=low

  * Drop support for Python <= 3.9.
  * Fix tests for Python >= 3.12.8.
  * Load GioUnix 2.0 now required for loading GExiv2 0.10

 -- FriedrichFroebel <>  Sun, 07 Dec 2025 11:50:00 +0100

didjvu (0.10.2) unstable; urgency=low

  * Report XMP backend versions as well.
  * Improve CLI help for output template of `separate` option.
  * Stop testing on Python < 3.9.
  * Add support for Python 3.13.
  * Fix writing `encode` output to stdout.

 -- FriedrichFroebel <>  Thu, 14 Nov 2024 20:15:00 +0100

didjvu (0.10.1) unstable; urgency=low

  * Add support for Python 3.12.
  * Fix broken `encode` and `separate` options.

 -- FriedrichFroebel <>  Sun, 24 Sep 2023 19:35:45 +0200

didjvu (0.10) unstable; urgency=low

  * Port to Python 3. At least Python 3.6 is required now.
  * Migrate tests from `nose` to plain `unittest` stdlib module.
  * Conform to PEP8 coding style.
  * Use standardized `setup.py`-based approach.
  * Clean-up directory structure to not use generic `lib`.
  * Fix memory leaks occuring in tests.
  * Drop support for GExiv2 < 0.12.2.

 -- FriedrichFroebel <>  Tue, 07 Mar 2023 20:29:51 +0100

didjvu (0.9.1) unstable; urgency=low

  * Fix -p/--pages-per-dict in lossless mode.
    Thanks to Stephen Jones and @rmast for the bug reports.
    https://github.com/jwilk/didjvu/issues/20
    https://github.com/jwilk/didjvu/issues/10
  * Fix help message for --fg-slices/--bg-slices.
  * Drop support for Gamera < 3.4.
  * Drop support for Python 2.6.
  * Improve the test suite:
    + Fix compatibility with Exiv2 ≥ 0.27.
    + Add code to help debugging image loading bugs.

 -- Jakub Wilk <jwilk@jwilk.net>  Mon, 06 Dec 2021 22:41:55 +0100

didjvu (0.9) unstable; urgency=low

  * Remake the build system.
    The new build system if based on makefiles.
  * Drop support for Gamera < 3.3.2.
  * Require Pillow, instead of long unmaintained Python Imaging Library.
  * Consistently use uppercase for CLI metavariables.
  * Improve error handling.
  * Reorganize and improve documentation.
    + Point to Python 2 documentation in the manual page.
      This is the version didjvu uses.
    + Improve typography in the manual page.
  * Use HTTPS for gamera.informatik.hsnr.de URLs.
  * Update PyPI URLs.
  * Improve the test suite.

 -- Jakub Wilk <jwilk@jwilk.net>  Wed, 07 Aug 2019 22:54:08 +0200

didjvu (0.8.2) unstable; urgency=low

  * Make --version print also versions of Python and the libraries.
  * Make --version print to stdout, not stderr.
  * Improve the setup script:
    + Fix the “install” command.
    + Use distutils644 to normalize tarball permissions etc.
  * Update pyexiv2 homepage URL.

 -- Jakub Wilk <jwilk@jwilk.net>  Mon, 15 Jan 2018 19:39:50 +0100

didjvu (0.8.1) unstable; urgency=low

  * Don't hardcode the Python interpreter path in script shebangs; use
    “#!/usr/bin/env python” instead.
  * Update Gamera documentation URL.
  * Update bug tracker URLs.
    The project repo has moved to GitHub.

 -- Jakub Wilk <jwilk@jwilk.net>  Sun, 13 Nov 2016 17:51:00 +0100

didjvu (0.8) unstable; urgency=low

  * Explicitly require GExiv2 version 0.10 to avoid warnings from PyGI.
  * Rename “--pageid-template” as “--page-id-template”.
  * Fix compatibility with Pillow ≥ 3.0.
  * Fix typo in the documentation.
  * Use HTTPS for more URLs in the documentation.
  * Improve the test suite.

 -- Jakub Wilk <jwilk@jwilk.net>  Thu, 26 Nov 2015 18:42:38 +0100

didjvu (0.7) unstable; urgency=low

  * Improve XMP support:
    + Add GExiv2 XMP backend.
    + Generate globally unique identifiers in the urn:uuid namespace.
      https://www.rfc-editor.org/rfc/rfc4122.html#section-3
    + Update the xmpMM:DocumentID property.
  * Improve the test suite.

 -- Jakub Wilk <jwilk@jwilk.net>  Thu, 10 Sep 2015 19:16:22 +0200

didjvu (0.6.1) unstable; urgency=low

  * Fix loading 16-bit greyscale PNG files.
    https://groups.yahoo.com/neo/groups/gamera-devel/conversations/messages/2425
  * Fix timezone offset calculations.
  * Improve error handling.
  * Improve the documentation.
  * Improve the test suite.

 -- Jakub Wilk <jwilk@jwilk.net>  Sun, 16 Aug 2015 12:36:14 +0200

didjvu (0.6) unstable; urgency=low

  * Add support for splitting along a given global threshold value
    (--method global --param threshold=N).
  * Don't use minidjvu for creating single-page documents.
  * Fix formatting of HTTPS links in the manual page.
  * Improve the test suite.

 -- Jakub Wilk <jwilk@jwilk.net>  Wed, 27 May 2015 22:56:59 +0200

didjvu (0.5) unstable; urgency=low

  * Add the -x/--param option.
  * Improve the test suite.

 -- Jakub Wilk <jwilk@jwilk.net>  Thu, 14 May 2015 23:47:32 +0200

didjvu (0.4.1) unstable; urgency=low

  * Improve the test suite.
  * In XMP timestamps, use “Z” as timezone offset instead of “-00:00”.
    Thanks to Daniel Stender for the bug report.
    https://github.com/jwilk/didjvu/issues/9

 -- Jakub Wilk <jwilk@jwilk.net>  Tue, 12 May 2015 19:05:57 +0200

didjvu (0.4) unstable; urgency=low

  * Add support for discarding foreground (--fg-slices=0) and background
    (--bg-slices=0) layers.
    This feature requires DjVuLibre ≥ 3.5.22.
    https://github.com/jwilk/didjvu/issues/4
  * Fix insecure use of /tmp when calling c44(1).
    https://github.com/jwilk/didjvu/issues/8
  * Fix loading TIFF files in color modes that Gamera doesn't handle
    correctly.
    https://bugs.debian.org/784374
  * Fix compatibility with DjVuLibre > 3.5.27 (with respect to adding INCL
    chunks).
  * Improve error handling.
  * Use a bigger buffer (1 MiB) for file copying.
  * Improve the test suite.

 -- Jakub Wilk <jwilk@jwilk.net>  Sat, 09 May 2015 22:02:38 +0200

didjvu (0.3) unstable; urgency=low

  * Automatically rename duplicate page identifiers.
    Thanks to Thomas Enderle for the bug report.
    https://github.com/jwilk/didjvu/issues/7
  * Preserve resolution from the input file when this metadata is present and
    no -d/--dpi option is specified.
  * Improve the test suite.

 -- Jakub Wilk <jwilk@jwilk.net>  Mon, 04 May 2015 21:06:11 +0200

didjvu (0.2.9) unstable; urgency=low

  * Fix error handling in the python-xmp-toolkit XMP backend.
  * Fix compatibility with python-xmp-toolkit ≥ 2.0.

 -- Jakub Wilk <jwilk@jwilk.net>  Sat, 02 May 2015 09:58:13 +0200

didjvu (0.2.8) unstable; urgency=low

  * Drop support for Python 2.5 completely.
  * Clarify documentation for the --fg-subsample and --bg-subsample options.
    Thanks to Janusz S. Bień for the bug report.
    https://github.com/jwilk/didjvu/issues/5
  * Work around a memory leak in Gamera.
    Thanks to Janusz S. Bień for the bug report.
    https://github.com/jwilk/didjvu/issues/6
  * Use HTTPS URLs when they are available, in documentation and code.

 -- Jakub Wilk <jwilk@jwilk.net>  Mon, 12 May 2014 14:00:48 +0200

didjvu (0.2.7) unstable; urgency=low

  * Improve the manual page, as per man-pages(7) recommendations:
    + Remove the “AUTHOR” section.
  * Make “setup.py clean -a” remove compiled manual page (unless it was built
    by “setup.py sdist”).
  * Check Python version at runtime, not only in setup.py.
  * Add support for the Brink and Pendock's minimum-cross entropy method.
  * Fix the ‘bundle’ command when used without the -o/--output option.

 -- Jakub Wilk <jwilk@jwilk.net>  Wed, 13 Mar 2013 23:09:52 +0100

didjvu (0.2.6) unstable; urgency=low

  * Fix compatibility with PIL ≥ 1.2.
  * Fix a copy&paste error in the manual page.
    Thanks to Janusz S. Bień for the bug report.
  * Fix the ‘separate’ subcommand.
    Thanks to Janusz S. Bień for the bug report.

 -- Jakub Wilk <jwilk@jwilk.net>  Tue, 15 May 2012 11:57:24 +0200

didjvu (0.2.5) unstable; urgency=low

  * Use RFC 3339 date format in the manual page. Don't call external programs
    to build it.

 -- Jakub Wilk <jwilk@jwilk.net>  Thu, 12 Apr 2012 12:24:50 +0200

didjvu (0.2.4) unstable; urgency=low

  * Make ‘didjvu <command> --help’ print defaults.
  * Improve XMP support:
    + Store more information about conversion options (loss-level, C44
      encoding options).
    + Rename ‘ncc’ to ‘n-connected-components’ for clarity.
    + Don't convert timestamps to UTC, as recommended by the XMP specification.
    + Use pyexiv2 as XMP backend if python-xmp-toolkit is not available.
    + Add XMP support to the ‘bundle’ command.

 -- Jakub Wilk <jwilk@jwilk.net>  Tue, 13 Mar 2012 21:12:22 +0100

didjvu (0.2.3) unstable; urgency=low

  * Produce more helpful error message when an external command is not found
    or a third-party module cannot be imported.
  * Add experimental support for XMP metadata.

 -- Jakub Wilk <jwilk@jwilk.net>  Wed, 01 Feb 2012 20:16:18 +0100

didjvu (0.2.2) unstable; urgency=low

  * Make ‘didjvu --help’ print also Gamera version number.
  * Try loading images with Gamera, and only fall back to Python Imaging
    Library. This should be both faster and allow loading wider variety of
    TIFF images.
  * Check Python version in setup.py.
  * Let the setup.py script build the manual page.
  * Disable the Gatos et al. thresholding algorithm for the time being, as it
    didn't work anyway.
  * Optimize Gamera → PIL conversions.
  * Prevent NumPy from being imported by Gamera (loading it takes noticeable
    amount of time, even though it's never needed).
  * Remove LANGUAGE variable from environment when calling external processes.
  * Correct error message about writing binary data to a terminal.
  * Add support for the “shading subtraction” algorithm.
  * Allow (and prefer) hyphens instead of underscores in method names.

 -- Jakub Wilk <jwilk@jwilk.net>  Mon, 23 Jan 2012 00:10:37 +0100

didjvu (0.2.1) unstable; urgency=low

  * Add the manual page.
  * Allow basic functionality of didjvu even with Python 2.5.
  * Implement a work-around for memory leak in the Gamera library.
  * Add support for reading palette-based images.
    Thanks to Janusz S. Bień for the bug report.
  * Make -m/--method work again.
  * Fix -p/--pages-per-dict.

 -- Jakub Wilk <jwilk@jwilk.net>  Fri, 29 Oct 2010 01:05:03 +0200

didjvu (0.2) unstable; urgency=low

  * Python ≥ 2.6 is now required.
  * Implement a new command-line interface. Three subcommands are available:
    + separate — generate masks for images;
    + encode — convert images to single-page DjVu documents;
    + bundle — convert images to bundled multi-page DjVu document.

 -- Jakub Wilk <jwilk@jwilk.net>  Wed, 08 Sep 2010 00:10:17 +0200

didjvu (0.1) unstable; urgency=low

  * Initial release.

 -- Jakub Wilk <jwilk@jwilk.net>  Fri, 18 Dec 2009 22:25:14 +0100
