mirror of
https://git.vectorsigma.ru/public/photoview.git
synced 2026-08-03 19:29:15 +00:00
Use magick generating thumbnails.
Fix #1204 * Add bad medias to scanner_test. * Fix the script. * Add GenerateThumbnail function. * Add identify dimension * Use new API. Cover json condition. * Use magick to generate thumbnails. * Update go mod. * Remove dependency of executable_worker -> test_utils * Reduce dependency of magick. * Use magick to get dimension. * Remove almost all code around `image` package. * Fix thumbnailing with multi-frame gif. * Remove the struct in wrapper. * Fix typo. * Build images. * Update logs * Add jpeg decoder. * Remove code dependency. * Add log to confirm scan in parallel. * Update log * Add reformat image perf tests. * Rollback the build workflow.
This commit is contained in:
@@ -4,9 +4,6 @@ set -eu
|
||||
: ${DEB_HOST_ARCH=`dpkg --print-architecture`}
|
||||
echo Arch: ${DEB_HOST_ARCH}
|
||||
|
||||
# Install go-heif dependencies
|
||||
apt-get install -y libdav1d-dev:${DEB_HOST_ARCH} libde265-dev:${DEB_HOST_ARCH} libjpeg62-turbo-dev:${DEB_HOST_ARCH} libopenh264-dev:${DEB_HOST_ARCH} libpng-dev:${DEB_HOST_ARCH} libnuma-dev:${DEB_HOST_ARCH} zlib1g-dev:${DEB_HOST_ARCH}
|
||||
|
||||
# Install go-face dependencies
|
||||
apt-get install -y \
|
||||
libdlib-dev:${DEB_HOST_ARCH} libblas-dev:${DEB_HOST_ARCH} libatlas-base-dev:${DEB_HOST_ARCH} liblapack-dev:${DEB_HOST_ARCH} libjpeg62-turbo-dev:${DEB_HOST_ARCH}
|
||||
|
||||
@@ -31,7 +31,7 @@ GOOS="$TARGETOS"
|
||||
GOARCH="$TARGETARCH"
|
||||
|
||||
GOARM="7"
|
||||
if [ "$TARGETARCH" = "arm" && ! -z "$TARGETVARIANT" ]; then
|
||||
if [ "$TARGETARCH" = "arm" ] && [ ! -z "$TARGETVARIANT" ]; then
|
||||
case "$TARGETVARIANT" in
|
||||
"v5")
|
||||
export GOARM="5"
|
||||
|
||||
Reference in New Issue
Block a user