GithubHelp home page GithubHelp logo

Unable to Read JPEG Files about scrimage HOT 5 CLOSED

homestar9 avatar homestar9 commented on August 15, 2024
Unable to Read JPEG Files

from scrimage.

Comments (5)

sksamuel avatar sksamuel commented on August 15, 2024

Sounds like the scrimage-webp maven module is not being picked up from the classpath that coldfusion uses.

from scrimage.

homestar9 avatar homestar9 commented on August 15, 2024

Strange. I do see scrimage-webp.jar listed in all of the jars loaded. I wonder if it could have something to do with the JVM version used by Adobe ColdFusion. Thanks for taking the time to reply by the way. :)

from scrimage.

dimitriz09 avatar dimitriz09 commented on August 15, 2024

Hello, i do have a very similar problem.
While it works well running locally on my PC, on my preprod env i have this error.

If the format is `webp` ensure you have a webp reader on your classpath, such as the `scrimage-webp` module. Tried the following ImageReader implementations:
com.sksamuel.scrimage.webp.WebpImageReader@301c39b1 failed due to java.io.IOExceptio

I use docker to run a jar file on a VPS. When inspecting the jar deployed (built with command gradle buildFatJar) i can see that the file com/sksamuel/scrimage/webp/WebpImageReader.class is indeed in the jar file so i don't really understand the error.

from scrimage.

aaa1115910 avatar aaa1115910 commented on August 15, 2024

I also encountered the same problem. When I package the jar and then run it, the problem will occur.

image

update: It seems that an exception will be thrown when reading any image.... not only jpg....

Solution found in #245

from scrimage.

sksamuel avatar sksamuel commented on August 15, 2024

Solution in #245

from scrimage.

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.