Changeset 3819


Ignore:
Timestamp:
03/14/08 07:33:14 (12 years ago)
Author:
melissa
Message:

Fixed bug with scaling 8-bit indexed color images.

File:
1 edited

Legend:

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

    r3737 r3819  
    18281828 
    18291829    BufferedImage result = null; 
    1830     if (source.getColorModel() instanceof IndexedColorModel) { 
     1830    if ((source.getColorModel() instanceof IndexedColorModel) || 
     1831      (source.getColorModel() instanceof IndexColorModel)) 
     1832    { 
    18311833      ColorModel model = source.getColorModel(); 
    18321834      WritableRaster raster = Raster.createWritableRaster( 
Note: See TracChangeset for help on using the changeset viewer.