Quantcast
Channel: MapWinGIS ActiveX Map and GIS Component
Viewing all articles
Browse latest Browse all 2341

New Post: Enabling tif compression

$
0
0
Hello all,

I'm working on an application that creates a bunch of gis output and it would be quite helpful to enable tif compression to reduce file sizes.

From the API documentation it looks like there is support but I can't find any examples of it in use.

So far I tried adding the following lines (vb.net) to my main form load sub routine:

Dim gs As New MapWinGIS.GlobalSettings
gs.TiffCompression = MapWinGIS.tkTiffCompression.tkmLZW

But this didn't seem to change the file output size. Using LZW compression in Arcmap reduces the size from 660mb to 9mb.

Many thanks for sharing your package,
Colin

Viewing all articles
Browse latest Browse all 2341

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>