title: I can't get an ImageReaderByFormatName("jpeg-lossless")
body: <p>I am trying to decode a lossless jpeg using JAI_ImageIO library and the following java call:</p>
  
  <pre><code>ImageIO.getImageReadersByFormatName("jpeg-lossless").hasNext()
  </code></pre>
  
  <p>results in "null".</p>
  
  <p>NOTE: I have the JAI_ImageIO jar installed to my jre/lib/ext directory.</p>
  
  <p>I don't know if the JPEG reader is sufficient to read lossless jpegs or if another reader is required to be installed.</p>
  
  <p>When I enumerate the FormatNames, i.e.:</p>
  
  <pre><code>ImageIO.getReaderFormatNames()
  </code></pre>
  
  <p>I get the following formats:</p>
  
  <pre><code>[raw, jpeg, tif, WBMP, PNM, JPG, DICOM, wbmp, JPEG, PNG, jpeg 2000, 
  tiff, BMP, JPEG2000, RAW, jpeg2000, GIF, TIF, TIFF, jpg, bmp, pnm, 
  png, JPEG 2000, gif]
  </code></pre>
  
  <p>I get the following runtime exception when I try to use the JPEG2000 reader: </p>
  
  <pre><code>java.lang.RuntimeException: File is neither valid JP2 file nor valid JPEG 2000 codestream
  at com.sun.media.imageioimpl.plugins.jpeg2000.J2KReadState.initializeRead(J2KReadState.java:696)
  at com.sun.media.imageioimpl.plugins.jpeg2000.J2KReadState.&lt;init&gt;(J2KReadState.java:209)
  at com.sun.media.imageioimpl.plugins.jpeg2000.J2KImageReader.read(J2KImageReader.java:449)
  at javax.imageio.ImageReader.read(ImageReader.java:940)
  </code></pre>
  
  <p>When I try to </p>
  
  <pre><code>ImageIO.read(file)
  </code></pre>
  
  <p>directly I get a an org.dcm4cheri.image.ConfigurationException.</p>