Name of the input image. Name of the output (rebinned) image. Style in which the values of the old pixels which fall within a new pixel should be processed. Number of x pixel widths in new pixel size. binxsize in [1:] Number of y pixel widths in new pixel size. binysize in [1:] Starting offset of the input image in x pixel widths. offsetx in [0:] Starting offset of the input image in y pixel widths. offsety in [0:]