code: def _save_cjpeg(im, fp, filename):
      # ALTERNATIVE: handle JPEGs via the IJG command line utilities.
      tempfile = im._dump()
      subprocess.check_call(["cjpeg", "-outfile", filename, tempfile])
      try:
          os.unlink(tempfile)
      except OSError:
          pass
  
imports: import array
  import io
  import math
  import os
  import struct
  import subprocess
  import sys
  import tempfile
  import warnings
  from .None import Image, ImageFile, TiffImagePlugin
  from ._binary import i16be
  from ._binary import i32be
  from ._binary import o8
  from .JpegPresets import presets
label_desc: Use image node_id 12 for calling a global function with example usage: _save_cjpeg(im, fp, filename) without return types