tamogen — Phatch v0.2 documentation

### Navigation

- index
- modules |
- next |
- previous |
- Phatch v0.2 documentation »
- other »

# tamogen

class `other.tamogen.` `BoundingBox`(topleft, bottomright)

  Bases: `list`

  `bottom`
  `get_bottom`()
  `get_left`()
  `get_right`()
  `get_top`()
  `left`
  `move_down`()
  `move_right`()
  `reset_y`()
  `right`
  `set_bottom`(value)
  `set_left`(value)
  `set_right`(value)
  `set_top`(value)
  `top`

class `other.tamogen.` `BoundingBoxContainer`

  Bases: `dict`

  `append`(box_name, topleft, bottomright)
  `move_down`()
  `move_right`()
  `reset_y`()

class `other.tamogen.` `FillImage`(image, fill_section_size, mode)
  Bases: `object`

class `other.tamogen.` `FillImages`(fill_section_size, mode)

  Bases: `list`

  `append`(item)
  `findClosestImageAndToneDiff`(cmp_img)

`other.tamogen.` `get_section_size`(im_size, num_squares)

`other.tamogen.` `get_tone`(img)

`other.tamogen.` `mosaic`(im, filltype, x_squares, y_squares, x_pix, y_pix, fill_image=None, fill_folder=None)

`other.tamogen.` `set_new_tone`(fill_img, tone_diff, cur_fill_box, final_img)

### Navigation

- index
- modules |
- next |
- previous |
- Phatch v0.2 documentation »
- other »