Revision 2321 org.gvsig.raster/branches/org.gvsig.raster_dataaccess_refactoring/org.gvsig.raster.lib/org.gvsig.raster.lib.impl/src/main/java/org/gvsig/raster/impl/provider/AbstractRasterProvider.java
AbstractRasterProvider.java | ||
---|---|---|
435 | 435 |
if (colorInterpSerializer.getResult() != null) { |
436 | 436 |
DataStoreColorInterpretation ci = (DataStoreColorInterpretation) colorInterpSerializer.getResult(); |
437 | 437 |
setColorInterpretation(ci); |
438 |
getTransparency().setColorInterpretation(ci); |
|
438 | 439 |
getTransparency().setTransparencyBand(ci.getBand(DataStoreColorInterpretation.ALPHA_BAND)); |
439 | 440 |
} |
440 | 441 |
|
... | ... | |
802 | 803 |
this.colorInterpretation = colorInterpretation; |
803 | 804 |
} |
804 | 805 |
|
805 |
/* |
|
806 |
* (non-Javadoc) |
|
807 |
* @see org.gvsig.raster.impl.dataset.RasterProvider#getStatistics() |
|
808 |
*/ |
|
809 | 806 |
public Statistics getStatistics() { |
810 | 807 |
if(stats == null) { |
811 | 808 |
stats = new SimpleProviderStatistics(this); |
Also available in: Unified diff