Resize image

operators.image.resize_image(client, input_file='in.tif', output_file='out.tif', new_grid_size=1.0, compression='None', instance_type='x2large')

resize_image( client,
input_file=’in.tif’,
output_file=’out.tif’,
new_grid_size=1.,
compression=’None’,
instance_type=’x2large’ )
Parameters:
  • input_file – Input georeferenced image file

  • output_file – Output georeferenced image file

  • new_grid_size – New grid size in meters

  • compression – Compression method (e.g., deflate, lzw)

  • instance_type – type of cloud instance used for processing