Coder Social home page Coder Social logo

android-magick.so about android-imagemagick HOT 7 OPEN

lilac avatar lilac commented on July 19, 2024
android-magick.so

from android-imagemagick.

Comments (7)

puelocesar avatar puelocesar commented on July 19, 2024

On Android.mk jni:

Replace Magick_Home with something like /Users/paulo/Downloads/lilac-Android-ImageMagick-5f1c8b5/ndk-modules/ImageMagick-6.7.3-0

And make this modification:
LOCAL_C_INCLUDES += $(Magick_Home)

Now at least it starts compiling, but in the middle of it, it crashes asking for freetype and libtiff

from android-imagemagick.

puelocesar avatar puelocesar commented on July 19, 2024

Also, you can get libandroid-magick.so using git

from android-imagemagick.

pinkeshsethi avatar pinkeshsethi commented on July 19, 2024

Hi,

Not able to generate the .so file by the above steps. Can you please share it.

I am getting following error in last few lines :

jni/../ndk-modules/ImageMagick-6.7.3-0/magick/annotate.c:1482: error: 'GlyphInfo' has no member named 'origin'
jni/../ndk-modules/ImageMagick-6.7.3-0/magick/annotate.c:1483: error: 'GlyphInfo' has no member named 'image'
jni/../ndk-modules/ImageMagick-6.7.3-0/magick/annotate.c:1483: error: 'GlyphInfo' has no member named 'origin'
jni/../ndk-modules/ImageMagick-6.7.3-0/magick/annotate.c:1484: error: 'GlyphInfo' has no member named 'image'
jni/../ndk-modules/ImageMagick-6.7.3-0/magick/annotate.c:1485: error: expected expression before ')' token
jni/../ndk-modules/ImageMagick-6.7.3-0/magick/annotate.c:1486: error: expected ';' before 'glyph'
jni/../ndk-modules/ImageMagick-6.7.3-0/magick/annotate.c:1491: error: 'GlyphInfo' has no member named 'image'
/cygdrive/c/android-ndk-r7b/build/core/build-binary.mk:240: recipe for target `obj/local/armeabi/objs-debug/MagickCore/annotate.o' failed
make: *** [obj/local/armeabi/objs-debug/MagickCore/annotate.o] Error 1

from android-imagemagick.

puelocesar avatar puelocesar commented on July 19, 2024

Hi pinkeshsethi, after some time making this work, I uploaded my results in this repository: https://github.com/puelocesar/android-lib-magick

from android-imagemagick.

pinkeshsethi avatar pinkeshsethi commented on July 19, 2024

Hi Puelocesar,

Its working like a charm for "Jpg". Do we have support for ".tiff/.tif" images in the ImageMagick. As i have tried to open a tif image but application got crash in that case.

from android-imagemagick.

puelocesar avatar puelocesar commented on July 19, 2024

Don't know, I'm just working with jpegs. See, I didn't took a time to
properly compile it and understand it, I just got lilac libmagick.so and
created that fakeawt so Magick.java package stopped giving me errors...

On 2 March 2012 06:04, pinkeshsethi <
[email protected]

wrote:

Hi Puelocesar,

Its working like a charm for "Jpg". Do we have support for ".tiff/.tif"
images in the ImageMagick. As i have tried to open a tif image but
application got crash in that case.


Reply to this email directly or view it on GitHub:
#1 (comment)

Paulo Cesar
User Interface Developer
http://puelocesar.wordpress.com
http://www.faberludens.com.br/pt-br/blog/285

from android-imagemagick.

vashisthg avatar vashisthg commented on July 19, 2024

Hi all
I tried to generate .so files myself but failed so used the puelocesar's repo, but i need to use png images. I guess would have to add some library for png support. Any Ideas folks???

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.