code: def roundtrip(expected):
      result = ImageQt.fromqpixmap(ImageQt.toqpixmap(expected))
      # Qt saves all pixmaps as rgb
      assert_image_equal(result, expected.convert("RGB"))
  
imports: import pytest
  from PIL import ImageQt
  from .helper import assert_image_equal, assert_image_equal_tofile, hopper
label_desc: Use image node_id 1 for calling a global function with example usage: roundtrip(expected) without return types