Changeset 4306


Ignore:
Timestamp:
08/12/08 12:51:39 (12 years ago)
Author:
melissa
Message:

Print a warning if we try to merge more than 4 channels.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/formats/tools/ImageInfo.java

    r4291 r4306  
    246246    } 
    247247 
     248    if (reader.isRGB() && reader.getRGBChannelCount() > 4) { 
     249      LogTools.println("Warning: Java does not support " + 
     250        "merging more than 4 channels."); 
     251      LogTools.println("Please use the '-separate' option " + 
     252        "to avoid receiving a cryptic exception."); 
     253    } 
     254 
    248255    // read basic metadata 
    249256    LogTools.println(); 
Note: See TracChangeset for help on using the changeset viewer.