Changeset 2876


Ignore:
Timestamp:
06/15/07 15:09:58 (12 years ago)
Author:
melissa
Message:

Fixed a couple of small bugs; updated "what's new" for next release.

Location:
trunk/loci/formats
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/formats/FormatReader.java

    r2857 r2876  
    338338    FormatTools.assertId(currentId, true, 1); 
    339339    BufferedImage img = openThumbImage(no); 
    340     byte[][] bytes = ImageTools.getBytes(img); 
     340    byte[][] bytes = ImageTools.getPixelBytes(img, core.littleEndian[series]); 
    341341    if (bytes.length == 1) return bytes[0]; 
    342342    byte[] rtn = new byte[getRGBChannelCount() * bytes[0].length]; 
  • trunk/loci/formats/in/BMPReader.java

    r2842 r2876  
    221221    // read the palette, if it exists 
    222222 
    223     if (offset != in.getFilePointer()) { 
     223    if (offset != in.getFilePointer() && nColors > 0) { 
    224224      palette = new byte[3][nColors]; 
    225225 
     
    236236 
    237237    status("Populating metadata"); 
    238  
     238     
    239239    core.sizeC[0] = (palette == null && bpp == 8) ? 1 : 3; 
    240240    if (bpp > 8) bpp /= 3; 
  • trunk/loci/formats/whats-new.txt

    r2853 r2876  
     12007 June 18: 
     2* Fixed issues with ICS, ND2, MicroManager, Leica LEI, and FV1000 OIF 
     3* Added support for large (> 2 GB) ND2 files 
     4* Minor enhancements to ImageJ importer 
     5* Implemented more flexible logging 
     6* Updated automated testing framework to use TestNG 
     7* Added package for caching images produced by Bio-Formats 
     8 
    192007 June 6: 
    210* Fixed OME upload/download bugs 
Note: See TracChangeset for help on using the changeset viewer.