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

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.

can anyone tell me why thisWhy is this happening?

cheers,

Rob

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.

can anyone tell me why this is happening?

cheers,

Rob

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?

Tweeted twitter.com/#!/StackGIS/status/172419406394175488
Python is the implementation language of the tool, but it is not relevant to the actual problem.
Link
Jason Scheirer
  • 18k
  • 2
  • 54
  • 72
Source Link
Robert Buckley
  • 10.3k
  • 14
  • 80
  • 160
Loading