Revision 1864 org.gvsig.raster.tools/trunk/org.gvsig.raster.tools/org.gvsig.raster.tools.algorithm/org.gvsig.raster.tools.algorithm.base/src/main/java/org/gvsig/raster/tools/algorithm/base/process/RasterProcess.java
RasterProcess.java | ||
---|---|---|
550 | 550 |
if(alphaBuffer != null) { |
551 | 551 |
writerBufferServer.setAlphaBuffer(alphaBuffer); |
552 | 552 |
nBands ++; |
553 |
colorInterpretation = RasterLocator.getManager().createColorInterpretation( |
|
553 |
colorInterpretation = RasterLocator.getManager().getDataStructFactory().createColorInterpretation(
|
|
554 | 554 |
new String[] { |
555 | 555 |
ColorInterpretation.RED_BAND, |
556 | 556 |
ColorInterpretation.GREEN_BAND, |
... | ... | |
558 | 558 |
ColorInterpretation.ALPHA_BAND}); |
559 | 559 |
} else { |
560 | 560 |
if(nBands == 1) |
561 |
colorInterpretation = RasterLocator.getManager().createColorInterpretation( |
|
561 |
colorInterpretation = RasterLocator.getManager().getDataStructFactory().createColorInterpretation(
|
|
562 | 562 |
new String[] { ColorInterpretation.GRAY_BAND }); |
563 | 563 |
} |
564 | 564 |
final Params params = manager.createWriterParams(sFilename); |
Also available in: Unified diff