Skip to content

GDK pixbuf loader module for viewing Krita documents in Eye of Gnome (eog).

License

Notifications You must be signed in to change notification settings

vurentjie/kra-gdk-pixbuf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Note: If you are looking for Krita image support for Gnome's new image viewer Loupe you can find loaders for that on the glycin_krita repository here.

The loaders on this page are for the Eye of Gnome image viewer. Eye of Gnome is still currently the default viewer for Ubuntu 24.04.

GDK pixbuf loader module for Krita documents

This module enables Krita image support in the Gnome image viewer, Eye of Gnome (eog).

Image formats handled are:

  • application/x-krita: .kra files
  • image/openraster: .ora files

Installation

You can check the releases page for a .deb package. Otherwise you will need to build it manually.

If you are installing the deb via dpkg, you may need to run apt -f install afterwards to fix missing dependencies.

sudo dpkg -i /path/to/kra_gdk_pixbuf.deb 
sudo apt -f install

Building

You can build and install the module with these steps:

  1. Install the dependencies (assuming you are using apt)
sudo apt install cmake libzip-dev libgdk-pixbuf-2.0-dev libpng-dev libglib2.0-dev
  1. Clone the repo, build the package, and install it
git clone https://github.com/vurentjie/kra-gdk-pixbuf
cd kra-gdk-pixbuf
mkdir build
cd build
cmake ..
make
sudo make install
  1. You need to manually update the query loader cache by running:
sudo gdk-pixbuf-query-loaders --update-cache

Caveats:

If gdk-pixbuf-query-loaders is not found, you may need to locate it with pkg-config and add it to your path and manually run it.

Try pkg-config gdk-pixbuf-2.0 --variable gdk_pixbuf_query_loaders to print out the location.

If this gives /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders. Then link it to a binary directory on your path:

sudo ln -s /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders /usr/local/bin/gdk-pixbuf-query-loaders
sudo gdk-pixbuf-query-loaders --update-cache

Screencast

Screencast.mp4

Additional Resources

If you are looking for thumbnail support then check instructions at the gnome-kra-ora-thumbnailer release.