Giter VIP home page Giter VIP logo

pngquant-android's People

Contributors

bfriedberg avatar mathias-boulay avatar ndahlquist avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

pngquant-android's Issues

No Result with run the nativePngQuantFile

I encapsulated a cordova plugin base on your repo: https://github.com/CN-Tower/cordova-plugin-pngquant
But my outputfile is empty after run the nativePngQuantFile. Can you help me?
LogCat:
09-08 16:01:53.457 17558-17558/com.jcflash.android V/ActivityThread: >>> handling: ENABLE_JIT
09-08 16:01:53.457 17558-17558/com.jcflash.android V/ActivityThread: <<< done: ENABLE_JIT
09-08 16:02:05.945 17558-17558/com.jcflash.android D/SystemWebChromeClient: file:///android_asset/www/js/index.js: Line 36 : /9j/4AAQSkZJRgABAQAAAQABAAD/2wBDABALDA4MChAODQ4SERATGCgaGBYW...
09-08 16:02:06.091 17558-17633/com.jcflash.android E/Input Filename: /storage/emulated/0/Android/data/com.jcflash.android/cache/temp1213492856png
09-08 16:02:06.092 17558-17633/com.jcflash.android E/Output Filename: /storage/emulated/0/Android/data/com.jcflash.android/cache/temp63894766png
09-08 16:02:06.092 17558-17633/com.jcflash.android I/LibPngQuantizer: /storage/emulated/0/Android/data/com.jcflash.android/cache/temp1213492856png:
09-08 16:02:06.093 17558-17633/com.jcflash.android E/Response Data: {"data":""}
09-08 16:02:06.093 17558-17633/com.jcflash.android W/PluginManager: THREAD WARNING: exec() call to PngQuant.compress blocked the main thread for 123ms. Plugin should use CordovaInterface.getThreadPool().
09-08 16:02:06.097 17558-17558/com.jcflash.android D/SystemWebChromeClient: file:///android_asset/www/js/index.js: Line 38 : [object Object]
09-08 16:02:06.097 17558-17558/com.jcflash.android I/chromium: [INFO:CONSOLE(38)] "[object Object]", source: file:///android_asset/www/js/index.js (38)

build error on mac

I get error when i build pngquant with command "./gradlew installDebug"

the log is:

make: *** No rule to make target jni/pngquant/rwpng.c', needed by obj/local/arm64-v8a/objs/pngquant/pngquant/rwpng.o'. Stop.
make: *** Waiting for unfinished jobs....
[arm64-v8a] Compile : pngquantandroid <= native_glue.c
[arm64-v8a] Compile : pngquantandroid <= pngquant.c
jni/native_glue.c:8:19: fatal error: rwpng.h: No such file or directory
#include "rwpng.h"
^
compilation terminated.
make: *** [obj/local/arm64-v8a/objs/pngquantandroid/native_glue.o] Error 1
In file included from jni/pngquant.c:50:0:
jni/pngquant.h:4:69: fatal error: rwpng.h: No such file or directory
#include "rwpng.h" /* typedefs, common macros, public prototypes */

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.