Coder Social home page Coder Social logo

compress's Issues

libjpeg.so not found

project下载完以后,没有修改任何东西,点击压缩,就提示找不到找不到‘libjpeg.so’这个库,求解决,谢谢。

Android 7.0 "libjpeg.so" not found

FATAL EXCEPTION: Thread-5
Process: com.blueberry.compress, PID: 14240
java.lang.UnsatisfiedLinkError: dlopen failed: library "libjpeg.so" not found
at java.lang.Runtime.loadLibrary0(Runtime.java:977)
at java.lang.System.loadLibrary(System.java:1567)
at com.blueberry.compress.ImageCompress.(ImageCompress.java:12)
at com.blueberry.compress.ImageCompress.nativeCompressBitmap(Native Method)
at com.blueberry.compress.MainActivity.compressing(MainActivity.java:145)
at com.blueberry.compress.MainActivity.access$400(MainActivity.java:29)
at com.blueberry.compress.MainActivity$2.run(MainActivity.java:121)

编译不过,报错了

Error:error: '../../../../libjpeg/prebuilt/x86/libjpeg.so', needed by '../../../../build/intermediates/cmake/debug/obj/x86/libcompress.so', missing and no known rule to make it

多次压缩图片质量仍会变差

使用100的qulity,多次压缩之后图片质量还是变差了,文件大小也变大了,能不能无损的保存到本地,不进行压缩

实在没有发现比系统有任何优势

跟系统压缩对比
1,压缩后,文件大小相同(没有使用特殊图片,仅限于用手机拍摄的照片)
2,图像质量几乎没有变化(从肉眼看)
3,最关键,比系统压缩更耗时(几乎是系统压缩的2倍以上)

2018年6月30日,手机三星S8,Android7.0(还用过一台魅族测试,结论一样)

实践过程,通过Luban压缩,修改了质量压缩方式,得出以上结论

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.