All Projects → novomesk → qt-jpegxl-image-plugin

novomesk / qt-jpegxl-image-plugin

Licence: GPL-3.0 license
Qt plug-in to allow Qt and KDE based applications to read/write JXL images.

Programming Languages

C++
36643 projects - #6 most used programming language
QMake
1090 projects
CMake
9771 projects
shell
77523 projects

Projects that are alternatives of or similar to qt-jpegxl-image-plugin

timekeeper
Time Keeper - QML plasmoid for KDE
Stars: ✭ 14 (-73.08%)
Mutual labels:  kde
imagecodecs
Image transformation, compression, and decompression codecs. Forked from https://pypi.org/project/imagecodecs
Stars: ✭ 56 (+7.69%)
Mutual labels:  jpegxl
pidswallow
A swallower script using process hierarchy.
Stars: ✭ 40 (-23.08%)
Mutual labels:  kde
darkine-kde
Darkine KDE - Theme for KDE Plasma 5 desktop > Mirror of https://git.rokin.in/Rokin/darkine-kde
Stars: ✭ 41 (-21.15%)
Mutual labels:  kde
kde-plasmoid-betterinlineclock
Your usual clock widget, just way better and on a single line!
Stars: ✭ 18 (-65.38%)
Mutual labels:  kde
plasma-docker
Plasmoid for KDE Plasma to control docker containers
Stars: ✭ 38 (-26.92%)
Mutual labels:  kde
soundkonverter
soundKonverter is in maintenance mode, PRs are welcome.
Stars: ✭ 89 (+71.15%)
Mutual labels:  kde
meta-qt5-extra
OE layer for desktop environments based on Qt5 (KDE KF5+Plasma+Apps / lirios / lxqt / lumina)
Stars: ✭ 28 (-46.15%)
Mutual labels:  kde
kcm-colorful
Make your KDE Plasma colorful.
Stars: ✭ 126 (+142.31%)
Mutual labels:  kde
plexydesk
Lightweight Desktop Manager for Gnu/Linux and FreeBSD - Ideal for Low resource computers
Stars: ✭ 33 (-36.54%)
Mutual labels:  kde
KDynamic
An Alternative to MacOS Mojave Dynamic Theme and Wallpaper Changer
Stars: ✭ 48 (-7.69%)
Mutual labels:  kde
konfsave
Easy saving and switching between multiple KDE configurations.
Stars: ✭ 42 (-19.23%)
Mutual labels:  kde
plasma-dotfiles
In this repository I intend to keep configuration files that I deem important, in addition to the theme customizations that I make to have a consistent working environment.
Stars: ✭ 58 (+11.54%)
Mutual labels:  kde
La Capitaine Icon Theme
La Capitaine is an icon pack designed to integrate with most desktop environments. The set of icons takes inspiration from the latest iterations of macOS and Google's Material Design.
Stars: ✭ 1,858 (+3473.08%)
Mutual labels:  kde
MLab
“云上炼丹师”中的云
Stars: ✭ 54 (+3.85%)
Mutual labels:  kde
konsole-snazzy
Elegant Konsole theme with bright colors
Stars: ✭ 21 (-59.62%)
Mutual labels:  kde
secret-service
Service to keep secrets of applications
Stars: ✭ 56 (+7.69%)
Mutual labels:  kde
archlinuxcn-dotfiles-collection
来自社区小伙伴们的 dotfiles 集锦
Stars: ✭ 73 (+40.38%)
Mutual labels:  kde
JetBrainsRunner
A Krunner Plugin which allows you to open your recent projects
Stars: ✭ 31 (-40.38%)
Mutual labels:  kde
marketo
Re-borned
Stars: ✭ 74 (+42.31%)
Mutual labels:  kde

qt-jpegxl-image-plugin

Table of Contents

  1. Description
  2. Installation
  3. Test

Description

Qt plug-in to allow Qt and KDE based applications to read/write JXL images.

Work in progress experimental implementation using libjxl

kimageformats 5.89 contains almost identical plug-in like this one already. If you have kimg_jxl.so installed, don’t install qt-jpegxl-image-plugin. If your distribution maintainer built kimageformats without JPEG XL support, you may install qt-jpegxl-image-plugin. It is not recommended to have libqjpegxl.so and kimg_jxl.so installed at the same time.

Installation

1. Clone, build and install JPEG-XL

!Important! Clone must be --recursive to include third party packages

Code for download and compilation:

git clone --depth 1 https://github.com/libjxl/libjxl.git --recursive
cd libjxl
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DJPEGXL_ENABLE_PLUGINS=ON -DBUILD_TESTING=OFF -DJPEGXL_WARNINGS_AS_ERRORS=OFF -DJPEGXL_ENABLE_SJPEG=OFF ..
make

Code for installation (run as root):

make install

2. Update mime database file

Check if the image-jxl.xml file was installed to /usr/share/mime/packages/ folder and run (as root):

update-mime-database /usr/share/mime/

3. Build qt-jpegxl-image-plugin

Make sure that the Qt 5 base development packages (qt5base-dev on Debian/Ubuntu) are installed. At least Qt 5.14 is required.

Download and build:

git clone --depth 1 https://github.com/novomesk/qt-jpegxl-image-plugin
cd qt-jpegxl-image-plugin
./build_libqjpegxl_dynamic.sh

Install (run as root):

make install

4. Add image/jxl to /usr/share/kservices5/imagethumbnail.desktop

  1. Open /usr/share/kservices5/imagethumbnail.desktop with editor of your choise
  2. Find line that starts with MimeType= and add image/jxl; to it's end, so line looks like MimeType=image/cgm; ... ;image/rle;image/avif;image/jxl;, save file.
  3. Run update-desktop-database

Test

cd testfiles
gwenview jpegxl-logo.jxl

Expected result:

jpegxl-logo.jxl in gwenview

Enjoy using JXL in applications

digiKam

JPEG XL in digiKam

JPEG XL support has to be explicitly enabled in digiKam. Go to Settings -> Configure digikam -> Views -> Mime Types and add jxl to the to the Additional image file extensions field: How to enable JXL extension in digiKam

KolourPaint

JPEG XL in KolourPaint

KPhotoAlbum

JPEG XL in KPhotoAlbum

LXImage-Qt

JPEG XL in LXImage-Qt

qimgv

JPEG XL in qimgv

qView

JPEG XL in qView

PhotoQt

JPEG XL in PhotoQt

YACReader

JPEG XL in YACReader - Yet Another Comic Reader

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].