class_docstr: Sprite atlas settings.
class_docstr_tok: ["Sprite","atlas","settings","."]
docstr: Width and height are in units of number of images
  
  Args:
    img_format: output format (JPG, PNG, etc).
    height: Height of atlas in number of images.
    width: Width in number of images.
    filename: Desired filename of atlas (without file extension).
    manifest_filename: Desired filename of atlas manifest (without file
                       extension).
docstr_tok: ["Width","and","height","are","in","units","of","number","of","images","Args",":","img_format",":","output","format","(","JPG",",","PNG",",","etc",")",".","height",":","Height","of","atlas","in","number","of","images",".","width",":","Width","in","number","of","images",".","filename",":","Desired","filename","of","atlas","(","without","file","extension",")",".","manifest_filename",":","Desired","filename","of","atlas","manifest","(","without","file","extension",")","."]
code: def __init__(
      self,
      img_format,
      height=None,
      width=None,
      filename="spriteatlas",
      manifest_filename="manifest",
  ):
      """
  
      Width and height are in units of number of images
  
      Args:
        img_format: output format (JPG, PNG, etc).
        height: Height of atlas in number of images.
        width: Width in number of images.
        filename: Desired filename of atlas (without file extension).
        manifest_filename: Desired filename of atlas manifest (without file
                           extension).
      """
      self._img_format = img_format
      self._width = width
      self._height = height
      self._filename = filename
      self._manifest_filename = manifest_filename
  
imports: import math
  import os
  from absl import logging
  from PIL import Image
label_desc: Use image node_id 1 to create a new SpriteAtlasSettings object from inherited base classes: object with example: obj = SpriteAtlasSettings(img_format, height, width, filename, manifest_filename)