Giter Club home page Giter Club logo

Comments (11)

Tourenathan-G5organisation avatar Tourenathan-G5organisation commented on July 27, 2024

Hello @sudheeshmohan47, i will check it

from silicompressor.

sudheeshmohan47 avatar sudheeshmohan47 commented on July 27, 2024

Thanks.

from silicompressor.

brijhub avatar brijhub commented on July 27, 2024

I'm also facing the same issue.
Please have a look on this issue.
Waiting for your response @Tourenathan-G5organisation

from silicompressor.

cognesoltech avatar cognesoltech commented on July 27, 2024

Getting same issue.

from silicompressor.

kumarbhubnesh avatar kumarbhubnesh commented on July 27, 2024

Getting same issue. Please check.

from silicompressor.

Tourenathan-G5organisation avatar Tourenathan-G5organisation commented on July 27, 2024

@brijhub @cognesoltech @kumarbhubnesh sorry for my very late response.
Please what version of android were you using for that problem to occur.

from silicompressor.

Tourenathan-G5organisation avatar Tourenathan-G5organisation commented on July 27, 2024

A new version of the library has just been release, please check it out.
Please take note of the readME file

from silicompressor.

helpdesskApplication avatar helpdesskApplication commented on July 27, 2024

Newer version has same issue, this is happening on Android 4.4.4 and on some android devices when random image is uploaded.

Caused by java.lang.ArithmeticException: divide by zero
at com.iceteck.silicompressorr.SiliCompressor.compressImage(SiliCompressor.java:205)
at com.iceteck.silicompressorr.SiliCompressor.compress(SiliCompressor.java:83)
at com.android.helpdessk.helpdesk.activities.HomeScreenActivity$ImageCompressionAsyncTask.doInBackground(HomeScreenActivity.java:551)
at com.android.helpdessk.helpdesk.activities.HomeScreenActivity$ImageCompressionAsyncTask.doInBackground(HomeScreenActivity.java:541)
at android.os.AsyncTask$2.call(AsyncTask.java:333)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:245)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at java.lang.Thread.run(Thread.java:764)

from silicompressor.

haroon47 avatar haroon47 commented on July 27, 2024

Same problem. I am testing it on oreo 8.0 device

from silicompressor.

haroon47 avatar haroon47 commented on July 27, 2024

Still same problem after 2 months. i mistakenly came to this library again

from silicompressor.

ahmetet avatar ahmetet commented on July 27, 2024

Try running compression code using AsyncTask dude

from silicompressor.

Related Issues (20)

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.