Comments (2)
Here's my current modified jni/Android.mk
file that resolved this:
Magick_Home := F:/Android-ImageMagick/ndk-modules/ImageMagick-6.7.3-0
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := android-magick
LOCAL_SRC_FILES := jmagick.c
LOCAL_SRC_FILES += magick_DrawInfo.c
LOCAL_SRC_FILES += magick_ImageInfo.c
LOCAL_SRC_FILES += magick_Magick.c
LOCAL_SRC_FILES += magick_MagickImage.c
LOCAL_SRC_FILES += magick_MagickInfo.c
LOCAL_SRC_FILES += magick_MontageInfo.c
LOCAL_SRC_FILES += magick_PixelPacket.c
LOCAL_SRC_FILES += magick_QuantizeInfo.c \
magick_MagickBitmap.c
LOCAL_C_INCLUDES += $(Magick_Home)/include/ImageMagick
LOCAL_C_INCLUDES += $(Magick_Home)
LOCAL_CFLAGS += -L$(Magick_Home)/lib
LOCAL_STATIC_LIBRARIES := MagickCore jpeg coders tiff-static filters
LOCAL_SHARED_LIBRARIES += MagickCore jpeg coders tiff-static filters
#LOCAL_SHARED_LIBRARIES := MagickCore png15 bz2 gomp pthread
LOCAL_LDLIBS += -L$(LOCAL_PATH)/../lib -lz -lfreetype -lpng -llog
include $(BUILD_SHARED_LIBRARY)
include F:/android-imagemagick/lib/freetype/jni/Android.mk
include F:/android-imagemagick/lib/libpng/jni/Android.mk
include F:/android-imagemagick/lib/zlib/jni/Android.mk
$(call import-module,ImageMagick-6.7.3-0)
$(call import-module,jpeg)
The includes are for the freetype, libpng, and zlib modules in the lib folder. I also had to change the LOCAL_MODULE name in the lib/zlib/jni/Android.mk
to libz
from zlib
.
from android-imagemagick.
If you want the latest and greatest imagemagick features on android, even with the option for jmagick support baked in, check out my repo.
https://github.com/cherryleafroad/Android-ImageMagick7
from android-imagemagick.
Related Issues (9)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-imagemagick.