Skip to main content
4 of 4
deleted 37 characters in body
PolyGeo
  • 65.4k
  • 29
  • 114
  • 345

rgb2pct.py increases size of file 20 fold!

I wanted to reduce the number of bands of a tif file from 3 to 1...

I used this command

rgb2pct.py -n 256 fnp_braunschweig.tif fnp_bs.tif

and it increased the size from 31mb to 778mb

I actually want to decrease the size of the file.

Why is this happening?

Robert Buckley
  • 10.3k
  • 14
  • 80
  • 160