regular jpeg not reading?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

regular jpeg not reading?

Tommy Chheng
I'm trying to resize an jpg image using imagej but the openImage is
not returning an ImagePlus object.

The image is at http://780x378-1.ikiwq.com/vkIxEgMTsn5Kyg0WrLu2Va.jpeg

scala> val url ="http://780x378-1.ikiwq.com/vkIxEgMTsn5Kyg0WrLu2Va.jpeg"
url: java.lang.String = http://780x378-1.ikiwq.com/vkIxEgMTsn5Kyg0WrLu2Va.jpeg

scala> import ij._
import ij._

scala>     val imp = IJ.openImage(url)
imp: ij.ImagePlus = null

The image looks like a regular jpeg:
file vkIxEgMTsn5Kyg0WrLu2Va.jpeg
vkIxEgMTsn5Kyg0WrLu2Va.jpeg: JPEG image data, JFIF standard 1.01

How can I get this image to open with imagej?

--
@tommychheng
http://tommy.chheng.com