Revision 6339
org.gvsig.raster/branches/org.gvsig.raster.2.4/org.gvsig.raster/org.gvsig.raster.gdal/org.gvsig.raster.gdal.provider.legend/src/main/java/org/gvsig/raster/gdal/provider/legend/RasterGdalGetColorInterpretation.java | ||
---|---|---|
107 | 107 |
bandColorInterpretations[1]=ColorInterpretation.GREEN_BAND; |
108 | 108 |
bandColorInterpretations[2]=ColorInterpretation.BLUE_BAND; |
109 | 109 |
bandColorInterpretations[3]=ColorInterpretation.ALPHA_BAND; |
110 |
} else if (bandColorInterpretations[0].equals(ColorInterpretation.RED_BAND) && |
|
111 |
bandColorInterpretations[1].equals(ColorInterpretation.GREEN_BAND) && |
|
112 |
bandColorInterpretations[2].equals(ColorInterpretation.BLUE_BAND) && |
|
113 |
bandColorInterpretations[3].equals(ColorInterpretation.UNDEFINED_BAND) ){ |
|
114 |
|
|
115 |
bandColorInterpretations[3]=ColorInterpretation.ALPHA_BAND; |
|
116 |
|
|
110 | 117 |
} |
111 | 118 |
} |
112 | 119 |
} |
Also available in: Unified diff