class_docstr: Test settings class
class_docstr_tok: ["Test","settings","class"]
code: def test_initializeWithAllSettings(self):
      # Simply verifies we can create an instance and return some properties.
      settings = convert.ImageConvertSettings(
          "png",
          100,
          100,
          position=(0.1, 0.1),
          bg_color_rgb=(100, 100, 100),
          opacity=100,
          resize_if_larger=True,
          preserve_aspect_ratio=True,
      )
  
      self.assertEqual(settings.format, "png")
      self.assertEqual(settings.height, 100)
      self.assertEqual(settings.width, 100)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os
  from absl.testing import absltest
  from PIL import Image
  from PIL import ImageColor
  import convert
label_desc: Use image node_id 2 for calling the ImageConvertSettingsTests obj's underlying member method code with example usage: obj.test_initializeWithAllSettings() without return types