code: def test_uncompressed_rgb():
      """Check uncompressed RGB images can be opened"""
  
      # convert -format dds -define dds:compression=none hopper.jpg hopper.dds
      with Image.open(TEST_FILE_UNCOMPRESSED_RGB) as im:
          assert im.format == "DDS"
          assert im.mode == "RGB"
          assert im.size == (128, 128)
  
          assert_image_equal_tofile(im, "Tests/images/hopper.png")
  
      # Test image with alpha
      with Image.open(TEST_FILE_UNCOMPRESSED_RGB_WITH_ALPHA) as im:
          assert im.format == "DDS"
          assert im.mode == "RGBA"
          assert im.size == (800, 600)
  
          assert_image_equal_tofile(
              im,
              TEST_FILE_UNCOMPRESSED_RGB_WITH_ALPHA.replace(
                  ".dds", ".png"
              ),
          )
  
imports: from io import BytesIO
  import pytest
  from PIL import DdsImagePlugin, Image
  from .helper import assert_image_equal, assert_image_equal_tofile, hopper
label_desc: Use image node_id 10 for calling a global function with example usage: test_uncompressed_rgb() without return types