Coder Social home page Coder Social logo

Comments (2)

Gensoukyou1337 avatar Gensoukyou1337 commented on July 19, 2024

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.

MolotovCherry avatar MolotovCherry commented on July 19, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.