Revision 21623 trunk/libraries/libRaster/src/org/gvsig/raster/dataset/properties/DatasetColorInterpretation.java
DatasetColorInterpretation.java | ||
---|---|---|
182 | 182 |
String[] newCI = new String[colorInterpretation.length + ci.length()]; |
183 | 183 |
for (int i = 0; i < colorInterpretation.length; i++) |
184 | 184 |
newCI[i] = colorInterpretation[i]; |
185 |
for (int i = 0; i < ci.length(); i++) |
|
185 |
for (int i = 0; i < ci.length(); i++) {
|
|
186 | 186 |
newCI[colorInterpretation.length + i] = ci.get(i); |
187 |
if(newCI[colorInterpretation.length + i].equals("Alpha")) |
|
188 |
isAlphaBand = true; |
|
189 |
} |
|
187 | 190 |
this.colorInterpretation = newCI; |
188 | 191 |
} |
189 | 192 |
|
Also available in: Unified diff