code: def pre_pillow_float_img_process(float_img):
      img = float_img * 255
      img = img.clip(0, 255).astype("uint8").transpose(1, 2, 0)
      return img
  
imports: import os, struct
  import numpy
  import math
label_desc: Use image node_id 3 for calling a global function with example usage: pre_pillow_float_img_process(float_img) and returns: img