Skip to content

Commit

Permalink
More libraw
Browse files Browse the repository at this point in the history
  • Loading branch information
Webreaper committed Mar 14, 2024
1 parent 2e3586a commit d2458de
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ ARG DEBIAN_FRONTEND=noninteractive

RUN apt-get update \
&& apt-get --no-install-recommends install -y \
# libraw for imagemagick
libraw-bin \
# procps
procps \
# and lastly, fonts
Expand Down
6 changes: 3 additions & 3 deletions make_imagemagick.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ echo "=== Starting ImageMagick build/install."
sed -Ei 's/^# deb-src /deb-src /' /etc/apt/sources.list

apt-get update
apt-get install -y build-essential curl git libraw-dev libtool
apt-get install -y build-essential curl git libtool
apt-get build-dep -y imagemagick
apt-get install -y libde265-dev libopenjp2-7-dev librsvg2-dev libwebp-dev
apt-get install -y libde265-dev libopenjp2-7-dev librsvg2-dev libwebp-dev libraw-dev

echo "=== Building libheif..."
cd /home
Expand All @@ -24,7 +24,7 @@ mkdir ImageMagick
curl https://download.imagemagick.org/archive/ImageMagick.tar.gz | tar zx -C ImageMagick --strip-components 1
rm ImageMagick.tar.gz
cd /home/ImageMagick
./configure --with-heic=yes --with-raw
./configure --with-heic=yes --with-raw=yes
make
make install
cd ..
Expand Down
1 change: 1 addition & 0 deletions validate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ exiftool -ver
echo "=== Validating ImageMagick"

which convert
convert -list configure
convert -version | tee imagemagick_version.txt

echo "=== Completed Build."

0 comments on commit d2458de

Please sign in to comment.