Changeset 2684


Ignore:
Timestamp:
04/26/07 14:12:35 (13 years ago)
Author:
melissa
Message:

Bug fixes.

Location:
trunk/loci/formats/in
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/formats/in/OpenlabReader.java

    r2673 r2684  
    572572      core.imageCount[0] = oldImages; 
    573573      if (layerInfoList[0].size() == 0) layerInfoList[0] = layerInfoList[1]; 
     574     
     575      int x = core.sizeX[0]; 
     576      core.sizeX = new int[1]; 
     577      core.sizeX[0] = x; 
    574578    } 
    575579    else { 
  • trunk/loci/formats/in/ZeissZVIReader.java

    r2673 r2684  
    184184  public BufferedImage openImage(int no) throws FormatException, IOException { 
    185185    return ImageTools.makeImage(openBytes(no), core.sizeX[0], core.sizeY[0], 
    186       core.rgb[0] ? core.sizeC[0] : 1, true, bpp == 3 ? 1 : bpp, true, 
     186      getRGBChannelCount(), true, bpp == 3 ? 1 : bpp, true, 
    187187      validBits); 
    188188  } 
Note: See TracChangeset for help on using the changeset viewer.