codepet 1.0.10 → 1.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -65,8 +65,8 @@ def main():
|
|
|
65
65
|
target_h = int(sprite.height * ratio)
|
|
66
66
|
sprite = sprite.resize((target_w, target_h), Image.LANCZOS)
|
|
67
67
|
|
|
68
|
-
# 像素化处理 —
|
|
69
|
-
sprite = pixelate(sprite, pixel_size=
|
|
68
|
+
# 像素化处理 — 强烈像素风,类似拼豆/像素游戏
|
|
69
|
+
sprite = pixelate(sprite, pixel_size=14)
|
|
70
70
|
|
|
71
71
|
# 拍立得尺寸
|
|
72
72
|
padding = 50
|