Skip to content

Commit

Permalink
feat: support jxl compressed metadata
Browse files Browse the repository at this point in the history
extract full exif and xml metadata from jxl images with metadata compressed
  • Loading branch information
jrasm91 authored Nov 24, 2023
2 parents 123fadf + 5daff74 commit ec4164a
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
23 changes: 22 additions & 1 deletion server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,25 @@ RUN apt-get update && \
autoconf \
build-essential \
jq \
perl \
libnet-ssleay-perl \
libio-socket-ssl-perl \
libcapture-tiny-perl \
libfile-which-perl \
libfile-chdir-perl \
libpkgconfig-perl \
libffi-checklib-perl \
libtest-warnings-perl \
libtest-fatal-perl \
libtest-needs-perl \
libtest2-suite-perl \
libsort-versions-perl \
libpath-tiny-perl \
libtry-tiny-perl \
libterm-table-perl \
libany-uri-escape-perl \
libmojolicious-perl \
libfile-slurper-perl \
libexif-dev \
libexpat1-dev \
libglib2.0-dev \
Expand All @@ -26,12 +45,14 @@ RUN apt-get update && \
ninja-build \
pkg-config \
wget \
zlib1g
zlib1g \
cpanminus

COPY bin/* .
RUN ./build-libraw.sh
RUN ./build-imagemagick.sh
RUN ./build-libvips.sh
RUN ./build-perllib-compress-brotli.sh

RUN sed -i -e's/ main/ main contrib non-free non-free-firmware/g' /etc/apt/sources.list.d/debian.sources
COPY bin/install-ffmpeg.sh bin/build-lock.json ./
Expand Down
12 changes: 12 additions & 0 deletions server/bin/build-perllib-compress-brotli.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/usr/bin/env bash

set -e

mkdir -p perllib-compress-brotli
cd perllib-compress-brotli
cpanm IO::Compress::Brotli
cd .. && rm -rf perllib-compress-brotli
rm -rf /usr/local/lib/*-linux-gnu/perl/*/auto/Alien
rm -rf /usr/local/lib/*-linux-gnu/perl/*/auto/share/
rm -rf /usr/local/lib/*-linux-gnu/perl/*/Alien/
ldconfig /usr/local/lib

0 comments on commit ec4164a

Please sign in to comment.