Giter Club home page Giter Club logo

Comments (6)

sksamuel avatar sksamuel commented on May 18, 2024

Thanks for the bug report. Which Jvm are you running in ?
On 3 Apr 2014 07:02, "nigredo-tori" [email protected] wrote:

Scrimage + filters v1.3.16:

Trying to load the attached image causes NoSuchElementException:

scala> import com.sksamuel.scrimage.Imageimport com.sksamuel.scrimage.Image
scala> import java.io.import java.io.
scala> Image(new File("d:\tmp\img.jpg"))java.util.NoSuchElementException
at javax.imageio.spi.FilterIterator.next(ServiceRegistry.java:825)
at javax.imageio.ImageIO$ImageReaderIterator.next(ImageIO.java:528)
at javax.imageio.ImageIO$ImageReaderIterator.next(ImageIO.java:513)
at com.sksamuel.scrimage.Image$.apply(Image.scala:725)
at com.sksamuel.scrimage.Image$.apply(Image.scala:746)
at .(:20)
at .()
at .(:7)
at .()
at $print()
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at scala.tools.nsc.interpreter.IMain$ReadEvalPrint.call(IMain.scala:734)
at scala.tools.nsc.interpreter.IMain$Request.loadAndRun(IMain.scala:983)
at scala.tools.nsc.interpreter.IMain.loadAndRunReq$1(IMain.scala:573)
at scala.tools.nsc.interpreter.IMain.interpret(IMain.scala:604)
at scala.tools.nsc.interpreter.IMain.interpret(IMain.scala:568)
at scala.tools.nsc.interpreter.ILoop.reallyInterpret$1(ILoop.scala:756)
at scala.tools.nsc.interpreter.ILoop.interpretStartingWith(ILoop.scala:801)
at scala.tools.nsc.interpreter.ILoop.command(ILoop.scala:713)
at scala.tools.nsc.interpreter.ILoop.processLine$1(ILoop.scala:577)
at scala.tools.nsc.interpreter.ILoop.innerLoop$1(ILoop.scala:584)
at scala.tools.nsc.interpreter.ILoop.loop(ILoop.scala:587)
at scala.tools.nsc.interpreter.ILoop$$anonfun$process$1.apply$mcZ$sp(ILoop.scala:878)
at scala.tools.nsc.interpreter.ILoop$$anonfun$process$1.apply(ILoop.scala:833)
at scala.tools.nsc.interpreter.ILoop$$anonfun$process$1.apply(ILoop.scala:833)
at scala.tools.nsc.util.ScalaClassLoader$.savingContextLoader(ScalaClassLoader.scala:135)
at scala.tools.nsc.interpreter.ILoop.process(ILoop.scala:833)
at scala.tools.nsc.interpreter.ILoop.main(ILoop.scala:900)
at org.jetbrains.plugins.scala.compiler.rt.ConsoleRunner.main(ConsoleRunner.java:64)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)

scala>

Works great with other images, though.

Image in question:
[image: img]https://cloud.githubusercontent.com/assets/5962285/2600071/60fc5864-baf5-11e3-8ae5-e1ee3cf3334d.jpg

Reply to this email directly or view it on GitHubhttps://github.com//issues/29
.

from scrimage.

nigredo-tori avatar nigredo-tori commented on May 18, 2024

Thank you for fast reply. I'm running:
Java 1.7.0_17
Scala version 2.10.3
upd: Problem present on 1.7.0_51 too

from scrimage.

sksamuel avatar sksamuel commented on May 18, 2024

Linux or mac? If linux openjdk or oraclejdk ?
On 3 Apr 2014 09:59, "nigredo-tori" [email protected] wrote:

Thank you for fast reply. I'm running:
Java 1.7.0_17
Scala version 2.10.3

Reply to this email directly or view it on GitHubhttps://github.com//issues/29#issuecomment-39428922
.

from scrimage.

nigredo-tori avatar nigredo-tori commented on May 18, 2024

Windows, HotSpot

from scrimage.

sksamuel avatar sksamuel commented on May 18, 2024

I think that checkin will sort it, I'll release an updated version shortly.

from scrimage.

sksamuel avatar sksamuel commented on May 18, 2024

1.3.18 fixes this.

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.