Search in sources :

Example 1 with BufferedImgFileWriter

use of uk.me.parabola.imgfmt.app.BufferedImgFileWriter in project mkgmap by openstreetmap.

the class DEMFile method write.

public void write() {
    ImgFileWriter w = getWriter();
    if (w instanceof BufferedImgFileWriter) {
        // increase file size limit to 256MB, no idea what the limit is
        ((BufferedImgFileWriter) w).setMaxSize(0xfffffff);
    }
    getHeader().writeHeader(getWriter());
}
Also used : BufferedImgFileWriter(uk.me.parabola.imgfmt.app.BufferedImgFileWriter) ImgFileWriter(uk.me.parabola.imgfmt.app.ImgFileWriter) BufferedImgFileWriter(uk.me.parabola.imgfmt.app.BufferedImgFileWriter)

Aggregations

BufferedImgFileWriter (uk.me.parabola.imgfmt.app.BufferedImgFileWriter)1 ImgFileWriter (uk.me.parabola.imgfmt.app.ImgFileWriter)1