I'm trying to convert HEIC files to JPEG. So I installed the libheif library:
https://github.com/strukturag/libheif
./autogen.sh
./configure
make
sudo make install
Now the heif-convert
tool is installed but when I run heif-convert input.HEIC output.jpeg
, I get an error: JPEG support has not been compiled in
.
I don't understand what I did wrong (or more likely what I forgot to do) and I don't find anything on the internet. Can someone tell me how I can fix this ?
As mentioned in the comments (thanks btw), the solution was to install libjpeg-dev (via apt) and re-run configure/make/make install.
Works like a charm now.