plg_image_light rely on a few libraries for: - image transcoding: libtranscode.a: a library build on top of of libraw - image resizing: libresize.a: a library built on top of libvips To create the libraries to be used by Filestash: ``` ./create_libtranscode.sh ./create_libresize.sh ``` To test the libraries are working fine: ``` # libtranscode: gcc -Wall -c src/libtranscode_test.c gcc -o main_transcode.bin libtranscode_test.o -lm -lpthread -L. -l:libtranscode.a curl -O https://archive.kerjean.me/public/2020/sample.CR2 ./main_transcode.bin ./sample.CR2 # libresize: gcc -Wall -c src/libresize_test.c `pkg-config --cflags glib-2.0` gcc -o main_resize.bin libresize_test.o -lm -lgmodule-2.0 -lgobject-2.0 -lglib-2.0 -L. -l:libresize.a curl -O https://archive.kerjean.me/public/2020/sample.jpg ./main_resize.bin ./sample.jpg ```