Thumbnails: Difference between revisions
Merged together the HEIF/AVIF section into the image section and also listed more image libraries which aren't inside of gdk-pixbuf |
Added the section about libheif.bin and libheif.out back and rewrote it to be a bit more detailed |
||
| Line 47: | Line 47: | ||
Thumbnails for the following MimeTypes are enabled: ''image/png; image/jpeg; image/bmp; image/x-bmp; image/x-MS-bmp; image/gif; image/x-icon; image/x-ico; image/x-win-bitmap; image/vnd.microsoft.icon; application/ico; image/ico; image/icon; text/ico; image/x-portable-anymap; image/x-portable-bitmap; image/x-portable-graymap; image/x-portable-pixmap; image/tiff; image/x-xpixmap; image/x-xbitmap; image/x-tga; image/x-icns; image/x-quicktime; image/qtif.'' | Thumbnails for the following MimeTypes are enabled: ''image/png; image/jpeg; image/bmp; image/x-bmp; image/x-MS-bmp; image/gif; image/x-icon; image/x-ico; image/x-win-bitmap; image/vnd.microsoft.icon; application/ico; image/ico; image/icon; text/ico; image/x-portable-anymap; image/x-portable-bitmap; image/x-portable-graymap; image/x-portable-pixmap; image/tiff; image/x-xpixmap; image/x-xbitmap; image/x-tga; image/x-icns; image/x-quicktime; image/qtif.'' | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"># configuration.nix | ||
# configuration.nix | |||
{ pkgs, ... }: | { pkgs, ... }: | ||
| Line 62: | Line 61: | ||
{ | { | ||
environment.systemPackages = [ | environment.systemPackages = [ | ||
# For general AVIF | # For general HEIF container support (this includes the AVIF file format) | ||
pkgs.libheif | pkgs.libheif.bin # provides heif-thumbnailer (the program that generates HEIF thumbnails) | ||
pkgs.libheif.out # provides heif.thumbnailer (allows for the viewing of HEIF thumbnails) | |||
# For more newer AVIF specific support | # For more newer AVIF specific support usually not needed if libheif is installed | ||
pkgs.libavif | pkgs.libavif | ||
| Line 74: | Line 74: | ||
pkgs.webp-pixbuf-loader | pkgs.webp-pixbuf-loader | ||
]; | ]; | ||
# All of the thumbnailers are created in '/run/current-system/sw/share/thumbnailers' | |||
}</syntaxhighlight> | }</syntaxhighlight> | ||