iwfm.gis.raster_band2jpeg

iwfm.gis.raster_band2jpeg(infile, band, outfile, format='JPEG')[source]

Extract a raster band to a file.

Parameters:
  • infile (str) – input file name

  • band (int) – image band to process

  • outfile (str) – output file name

  • format (str, default='JPEG') – output file format

Return type:

nothing