code: def test_save_netpbm_bmp_mode(tmp_path):
      with Image.open(TEST_GIF) as img:
          img = img.convert("RGB")
  
          tempfile = str(tmp_path / "temp.gif")
          GifImagePlugin._save_netpbm(img, 0, tempfile)
          with Image.open(tempfile) as reloaded:
              assert_image_similar(img, reloaded.convert("RGB"), 0)
  
imports: from io import BytesIO
  import pytest
  from PIL import GifImagePlugin, Image, ImageDraw, ImagePalette, features
  from .helper import assert_image_equal, assert_image_equal_tofile, assert_image_similar, hopper, is_pypy, netpbm_available
label_desc: Use image node_id 16 for calling a global function with example usage: test_save_netpbm_bmp_mode(tmp_path) without return types