Skip to content

A simple converter to procress digiKam database thumbnails image to PNG. This code do not depend of digiKam core API

License

Notifications You must be signed in to change notification settings

cgilles/digikam-pgf-database

Repository files navigation

This small program is a simple converter to process digiKam database PGF blob images to PNG.

digiKam store thumbnails with wavelets PGF codec to reduce size with a very good quality, better than JPEG.

To compile this code, you need CMake and Qt5 Core and Gui modules under Linux. There is no dependency to digiKam core. To compile this code from Windows, you need to solve dependencies for MXE cross compiler.

Two bash scripts are provided to compile under linux (bootstrap-linux.sh) and cross compile to Windows using MXE (bootstrap-mxe.sh).

To extract PGF thumbnails blobs from digiKam database, look the bash script 'export_thumbnails.sh'.

To convert blob data from digiKam database, just pass the PGF blob extracted from the digiKam database to the cli tool. It will be converted as PNG image.

Note: a windows 64 bits executable cross-compiled under Linux as static program is available in bin sub-directory. It can be used as well without external dependency.

Links:

Gilles Caulier

About

A simple converter to procress digiKam database thumbnails image to PNG. This code do not depend of digiKam core API

Topics

Resources

License

Stars

Watchers

Forks