Revision 9523 branches/piloto3d/libraries/libCq CMS for java.old/src/org/cresques/io/ErmapperWriter.java
ErmapperWriter.java | ||
---|---|---|
27 | 27 |
import es.gva.cit.jgdal.GdalRasterBand; |
28 | 28 |
|
29 | 29 |
import org.cresques.geo.ViewPortData; |
30 |
import org.cresques.i18n.Messages; |
|
31 | 30 |
import org.cresques.io.GdalWriter.GdalSupportOptions; |
32 |
import org.cresques.io.data.WriterSupportOptions; |
|
33 | 31 |
|
34 | 32 |
import org.cresques.px.PxRaster; |
35 | 33 |
|
... | ... | |
161 | 159 |
ViewPortData vp, |
162 | 160 |
Integer compresion, |
163 | 161 |
Integer outSizeX, |
164 |
Integer outSizeY) throws EcwException, IOException { |
|
162 |
Integer outSizeY, |
|
163 |
Integer dataType) throws EcwException, IOException { |
|
165 | 164 |
ident = outFileName.toLowerCase().substring(outFileName.lastIndexOf(".") + 1); |
166 | 165 |
driver = (String)typeList.get(ident); |
167 | 166 |
support = new EcwSupportOptions(driver); |
... | ... | |
405 | 404 |
"\" border=\"yes\">"); |
406 | 405 |
|
407 | 406 |
options.append("<panel layout=\"FlowLayout\" position=\"North\" align=\"left\">"); |
408 |
options.append("<label>"+Messages.getText("Block_Size_")+"</label>");
|
|
407 |
options.append("<label>Tama?o bloque:</label>");
|
|
409 | 408 |
options.append("<combo ident=\"BLOCKSIZE\" selected=\"" + |
410 | 409 |
this.support.getBlockSize() + "\">"); |
411 | 410 |
|
... | ... | |
663 | 662 |
* @param height Alto de la imagen |
664 | 663 |
*/ |
665 | 664 |
private void readBands(int width, int height) { |
666 |
dataBuffer = dataWriter.readData(width, height, 0); |
|
665 |
dataBuffer = dataWriter.readARGBData(width, height, 0);
|
|
667 | 666 |
} |
668 | 667 |
|
669 | 668 |
/** |
Also available in: Unified diff