class_docstr: Image conversion settings.
class_docstr_tok: ["Image","conversion","settings","."]
code: def _validate_settings(self):
      error_messages = []
      for val in self._position:
          if val < 0 or val > 1:
              error_messages.append(
                  "Position must be a percent of width/height with "
                  "values ranging from 0 to 1.\n"
              )
      for val in self._bg_color:
          if val < 0 or val > 255:
              error_messages.append(
                  "RGB and opacity values must be between (0, 255)"
                  ".\n"
              )
      if self.width < _REQUIRED_MIN_DIMENSION:
          error_messages.append(
              "Desired width must be greater than %d pixels.\n"
              % _REQUIRED_MIN_DIMENSION
          )
      if self.height < _REQUIRED_MIN_DIMENSION:
          error_messages.append(
              "Desired width must be greater than %d pixels.\n"
              % _REQUIRED_MIN_DIMENSION
          )
      if error_messages:
          raise ValueError(
              "The following invalid conversion settings were found: "
              "%s" % str(error_messages)
          )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from absl import logging
  from PIL import Image
  from PIL import ImageOps
label_desc: Use image node_id 2 for calling the ImageConvertSettings obj's underlying member method code with example usage: obj._validate_settings() without return types