mirror of
https://git.vectorsigma.ru/public/photoview.git
synced 2026-08-03 21:09:05 +00:00
Use Magickwand to handle images. (#1212)
* Add MagickWand perf test. * Use MagickWand. * Calculate the right thumbnail dimension. * Remove magick bin file. * Add building dependencies. * Build images. * Add --no-install-recommends * Remove unused field. * Fix typo * Use uint in the worker. * Add guard * Always update apt. * Fix EncodeJpeg() with the quality * Rename the local error with a better name. * Add worker.Terminate() * Fix typo * Rebase with master and rollback the build workflow.
This commit is contained in:
@@ -74,7 +74,6 @@ RUN export $(cat /env) \
|
||||
&& cp -a include/* /usr/local/include/ \
|
||||
&& cp -a pkgconfig/* ${PKG_CONFIG_PATH} \
|
||||
&& cp -a lib/* /usr/local/lib/ \
|
||||
&& cp -a bin/* /usr/local/bin/ \
|
||||
&& ldconfig \
|
||||
&& apt-get install -y ./deb/jellyfin-ffmpeg.deb
|
||||
|
||||
@@ -116,8 +115,6 @@ RUN --mount=type=bind,from=api,source=/dependencies/,target=/dependencies/ \
|
||||
# Install self-building libs
|
||||
&& cd /dependencies \
|
||||
&& cp -a lib/*.so* /usr/local/lib/ \
|
||||
&& cp -a bin/* /usr/local/bin/ \
|
||||
&& cp -a etc/* /usr/local/etc/ \
|
||||
&& ldconfig \
|
||||
&& apt-get install -y ./deb/jellyfin-ffmpeg.deb \
|
||||
&& ln -s /usr/lib/jellyfin-ffmpeg/ffmpeg /usr/local/bin/ \
|
||||
|
||||
Reference in New Issue
Block a user