Skip to content
Fully featured, latest build of imagemagick 7 for Android. Featuring a full build of very many libraries (delegates)-> 7.0.8-63
C C++ Makefile Assembly Objective-C Shell Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ImageMagick-7.0.8-63
bzip-1.0.8 Initial project upload Aug 21, 2019
libfftw-3.3.8 Initial project upload Aug 21, 2019
libfreetype2-2.10.1 Initial project upload Aug 21, 2019
libiconv-1.16 Initial project upload Aug 21, 2019
libicu4c-64-2 Add a tool to minify a generated icu .dat file (included precompiled … Aug 23, 2019
libjmagick-7 Fix small memory leak (not that anyone would've noticed it) Sep 2, 2019
libjpeg-turbo-2.0.2 Initial project upload Aug 21, 2019
liblcms2-2.9 Add littlecms delegate Aug 22, 2019
libltdl-2.4.6 OpenCL support (only tested with Qualcomm chips). Fixes #1 Aug 26, 2019
libopencl/qualcomm OpenCL support (only tested with Qualcomm chips). Fixes #1 Aug 26, 2019
libopenjpeg-2.3.1 Initial project upload Aug 21, 2019
libpng-1.6.37 Initial project upload Aug 21, 2019
libtiff-v4.0.10 Easily enable or disable which delegates are compiled through simple … Aug 22, 2019
libwebp-1.0.3
libxml2-2.9.9 Easily enable or disable which delegates are compiled through simple … Aug 22, 2019
make Update to ImageMagick-7.0.8-63 Sep 2, 2019
tools/icutools Add a tool to minify a generated icu .dat file (included precompiled … Aug 23, 2019
xz-5.2.4 Initial project upload Aug 21, 2019
Android.mk Update to ImageMagick-7.0.8-63 Sep 2, 2019
Application.mk OpenCL support (only tested with Qualcomm chips). Fixes #1 Aug 26, 2019
README.md Update to ImageMagick-7.0.8-63 Sep 2, 2019
build-debug.bat Initial project upload Aug 21, 2019
build-release.bat Initial project upload Aug 21, 2019
configure-any.sh Initial project upload Aug 21, 2019
generate-jmagick-headers.sh Jmagick complete android examples Aug 24, 2019
generate-libfftw-sources.sh Initial project upload Aug 21, 2019
generate-libicu4c-data.sh Initial project upload Aug 21, 2019

README.md

Android ImageMagick 7.0.8-63

This is a fully featured imagemagick build compatible with android. All libaries used are the absolute latest versions with the latest and greatest features.

It can be configured to both build as a binary (with shared libaries or statically linked), or as separate shared libraries (and no binary).

It comes compiled with the following features:

  • OpenMP(3.1) / OpenCL (Qualcomm)
  • HDRI support
  • Q16 Quantum depth
  • Cipher
  • DPC

It comes featured with the following delegates:

  • bzlib
  • libfftw
  • libfreetype
  • libjpeg-turbo
  • libopenjpeg
  • libpng
  • libtiff
  • libwebp
  • libxml2
  • liblzma
  • liblcms2

Also comes with (but these not delegates, only support libraries):

  • libicu4c (libicuuc and libicui18n)
  • libiconv

Android support

Requires API >= 24 (>= Nougat)

Currently, only arm64-v8a is supported

You can test it with earlier versions, but I offer no support for it.

  • Includes optional jmagick support. It will patch imagemagick c files for Android/jmagick compatibility.
  • Includes jmagick java code and fakeawt for your project
  • Also has example android java code interfacing with imagemagick, find it in the libjmagick-7/android directory
  • You can choose to disable support for jmagick, and it will compile UNMODIFIED vanilla files (the binary / libraries will still run on Android without any problems whatsoever; android compatibility is merely to allow imagemagick to interface with java code, and also logging support in Android Studio ;) )

How to run the binary

  1. Put all generated binary and library files in same folder.
  2. Add environment variables before you run the binary.
ENV Variable Description Example Value
TMPDIR Temporary cache directory. Set to a directory writable by your app /data/data/com.myapp/files/TMP
MAGICK_HOME The directory containing imagemagick xml config files. Should be set to the base directory, e.g. /usr , with config files being in /usr/etc/ImageMagick-7. /data/data/com.myapp/files/usr
ICU_DATA_DIR_PREFIX The directory containing the folder named icu which contains the ICU data files (required by icuuc library). For example, a path of /usr will result in /usr/icu/icu.dat being loaded. Only required if the libxml2 delegate is enabled. /data/data/com.myapp/files/usr
LD_LIBRARY_PATH Needed in order for the binary to find the libc++_shared.so library (or other libraries if you compiled them into shared libraries) /data/data/com.myapp/files/usr/lib/arm64-v8a
You can’t perform that action at this time.