IlvGeoTIFFTiler* tiler = new IlvGeoTIFFTiler(filename, "out.tif", getTileWidth(), getTileHeight()); IlvMapsError status = tiler->getInitStatus(); if(status != IlvMaps::NoError()) return status; IlvTIFFStreamer streamer; status = tiler->performTiling(streamer); return status; |