class_docstr: Encode an image with a supported file encoding.
class_docstr_tok: ["Encode","an","image","with","a","supported","file","encoding","."]
code: def __repr__(self) -> str:
      return f"{self.__class__.__name__}(file_encoding={self.file_encoding}, quality={self.quality})"
  
imports: import argparse
  import io
  from typing import Dict, Union
  import numpy
  import torch
  from PIL import Image
  from data.transforms import TRANSFORMATIONS_REGISTRY, BaseTransformation
label_desc: Use image node_id 3 for calling the PILSave obj's underlying member method code with example usage: obj.__repr__() and returns: self, str, self, str, self, str