mirror of
https://git.asonix.dog/asonix/pict-rs
synced 2024-12-22 19:31:35 +00:00
asonix
f082e48ed8
There's a bug when converting APNG files to WEBP files, which imagemagick delegates to ffmpeg. When doing 'nix build' and running the result, or running pict-rs in the dev shell, it works fine. In the container, this doesn't work at all. imagemagick complains that there's no media to convert, implying ffmpeg has output a zero-sized file. This work is helping to narrow down exactly what pict-rs needs to run, though. This still needs to be tested against h264, h265, vp8, vp9 and av1.
23 lines
564 B
Nix
23 lines
564 B
Nix
{ imagemagick7 }:
|
|
|
|
imagemagick7.override {
|
|
bzip2Support = true;
|
|
zlibSupport = true;
|
|
libX11Support = false;
|
|
libXtSupport = false;
|
|
fontconfigSupport = false;
|
|
freetypeSupport = false;
|
|
libjpegSupport = true;
|
|
djvulibreSupport = false;
|
|
lcms2Support = false;
|
|
openexrSupport = false;
|
|
libjxlSupport = true;
|
|
libpngSupport = true;
|
|
liblqr1Support = false;
|
|
librsvgSupport = false;
|
|
libtiffSupport = false;
|
|
libxml2Support = false;
|
|
openjpegSupport = true;
|
|
libwebpSupport = true;
|
|
libheifSupport = true;
|
|
}
|