code: def reencode_image(input_path, output_path):
      """Re-encodes the image to the format specified by the given output path.
  
      Args:
          input_path: the path to the input image
          output_path: the path to write the output image
      """
      _transform_image(input_path, output_path, force_reencode=True)
  
imports: import logging
  import os
  import eta.core.image
  import eta.core.utils
  import fiftyone.core.storage
  import fiftyone.core.utils
  import fiftyone.core.validation
label_desc: Use image node_id 5 for calling a global function with example usage: reencode_image(input_path, output_path) without return types