tune(comfyui): crop_to_content pad_ratio 0.06->0.02 — sprite llena más el frame
This commit is contained in:
@@ -77,7 +77,7 @@ def _content_bbox(img, alpha_threshold: int, bg_tolerance: int):
|
||||
def crop_to_content(
|
||||
img,
|
||||
*,
|
||||
pad_ratio: float = 0.06,
|
||||
pad_ratio: float = 0.02,
|
||||
square: bool = True,
|
||||
alpha_threshold: int = 10,
|
||||
bg_tolerance: int = 16,
|
||||
|
||||
Reference in New Issue
Block a user