code: def step_impl_save_to_png(context):
      """Call Scene.save_dataset to write a PNG image."""
      with NamedTemporaryFile(suffix=".png", delete=False) as tmp_file:
          context.lscn.save_dataset(
              context.composite, filename=tmp_file.name
          )
          context.new_filename = tmp_file.name
  
file_path: satpy/satpy/tests/features/steps/steps-real-load-process-write.py
imports: import fnmatch
  import os
  from tempfile import NamedTemporaryFile
  import numpy
  from behave import given, then, when
  from PIL import Image
label_desc: Use image node_id 8 for calling a global function with example usage: step_impl_save_to_png(context) without return types