Generate clean 2D game sprites & animation atlases — component-row pipeline: state rows, alpha cleanup, frame extraction, runtime atlases. Codex/Claude skill.
docs: pins across machines taken on decoded pictures (docs/release.md), and the held-fill pin described as such in loop-repair section 7 and the v3.8.0 CHANGELOG
Soohong Kimec09b50cac4e
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex d3662ca..fbc09cb 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -12,7 +12,7 @@ All notable public changes to `sprite-gen` are recorded here. Versions track the- A cut whose cells were made is read by the seam gate on its rendered cells, is not restored from its source frames (`video-loop-repair`: `source-processing-unsupported`), and `video-cycle-align` reads its drawings on its own cells.- Python callers: `sprite_gen.video.held_fill` (`same_steps`, `runs`, `reading`, `fill`, `upsample`, `times`, `still_kept`, `judge`, `public`, `said`); `loop.run_loop(..., fill_held=, out_fps=)`; `batch.run_set(..., fill_held=, out_fps=)`.- **Docs**: [loop-repair.md](docs/loop-repair.md) section 7 (the reading, the fill, the higher rate, the paths that give frames at a higher rate, what it takes from sprite-gen); [video-pipeline.md](docs/video-pipeline.md) section 4 (the default step: find, fill, read again; poses over cells in one line); `SKILL.md`.-- **Tests**: `tests/video/test_held_fill.py` (synthetic clips and a stand-in interpolator that draws the clip again at the time asked: six cuts with no held cell pinned to their bytes on the engine before the fill; a stalled walk filled at a half, a third and two thirds, every other cell as filmed; `--fill-held off` byte for byte as before; no RIFE delivered as filmed with the motion named; a hold of five kept; a walk drawn on twos kept as filmed, byte for byte as `--fill-held off`; a walk carried from 24 to 60 fps by repeating frames filled to 60 poses in 60 cells; a once and a one-shot cut filled; a planted foot kept still, and a frame between that drags it or cross-fades two poses refused; the ends of a cut played once and a loop's last cells kept; codec-like copies are the same picture and a pixel's move is not; a whole figure moving under a thumbnail pixel is not the same picture; a walk at 60 fps made of 60 poses in 60 cells; a one-shot at 60 fps keeping its first and last frames; no RIFE at its own rate; a rate under the clip's refused; the switches through `video-loop` and `video-set`; restoration, the alignment and a stop refusing what they cannot read).+- **Tests**: `tests/video/test_held_fill.py` (synthetic clips and a stand-in interpolator that draws the clip again at the time asked: six cuts with no held cell pinned to their decoded pictures on the engine before the change (commit 886936e); a stalled walk filled at a half, a third and two thirds, every other cell as filmed; `--fill-held off` byte for byte as before; no RIFE delivered as filmed with the motion named; a hold of five kept; a walk drawn on twos kept as filmed, byte for byte as `--fill-held off`; a walk carried from 24 to 60 fps by repeating frames filled to 60 poses in 60 cells; a once and a one-shot cut filled; a planted foot kept still, and a frame between that drags it or cross-fades two poses refused; the ends of a cut played once and a loop's last cells kept; codec-like copies are the same picture and a pixel's move is not; a whole figure moving under a thumbnail pixel is not the same picture; a walk at 60 fps made of 60 poses in 60 cells; a one-shot at 60 fps keeping its first and last frames; no RIFE at its own rate; a rate under the clip's refused; the switches through `video-loop` and `video-set`; restoration, the alignment and a stop refusing what they cannot read).## v3.7.0 - Breathe row width and height minimum and maximum sizing, and curator breathe editor range inputsdiff --git a/docs/loop-repair.md b/docs/loop-repair.mdindex 9bee1c5..2f63c90 100644--- a/docs/loop-repair.md+++ b/docs/loop-repair.md@@ -2793,7 +2793,7 @@ plays the clip's filmed frames, none made between two others, and names a run it| Order | After the anchor and `source_projection`, before the ghost screen, the wrap blend, the part pop and the jump repair | Everything that reads the flow and the wrap reads the cut as it will play. || No RIFE | The held cells are delivered as filmed, the cut passes, and a `warning:` line names the motion, the cells and `sprite-gen rife install`; `held_fill.unmade` records them | Never a failure, never silent. || `--fill-held off` | Cut as filmed, byte for byte as before; the reading is recorded all the same | |-| Byte for byte | A cut with no held cell is delivered as before: six synthetic cuts (a fixed and a periodic walk, a one-shot hop, a pinned swing, a once fall, a once-return swing) are pinned to their bytes on the engine before the fill, and the strip, the GIF, the WebP and `cycle/` match (`tests/video/test_held_fill.py`) | |+| Byte for byte | A cut with no held cell is delivered as before: six synthetic cuts (a fixed and a periodic walk, a one-shot hop, a pinned swing, a once fall, a once-return swing) are pinned to their decoded pictures on the engine before the change (commit 886936e): every frame of the strip PNG, the GIF, the WebP and the `cycle/` cells, decoded to RGBA, with each frame's size and the frame count. The test no longer pins the file bytes because the same pixels are written as different PNG bytes on Linux and on macOS (zlib differs), though on each platform the engine before the change and this one still write identical files (`tests/video/test_held_fill.py`). | |A cut whose cells were made is read by the seam gate on its rendered cells (`seam_measurement`), restoration fromthe source frames (`video-loop-repair`) reads it as `source-processing-unsupported`, and `video-cycle-align` readsdiff --git a/docs/release.md b/docs/release.mdindex b35dbc1..c60adbf 100644--- a/docs/release.md+++ b/docs/release.md@@ -23,6 +23,8 @@ lavapipe 에서는 첫 업로드에서 죽는다 — 그래서 그런 호스트제외하는 빠른 묶음이다. `tests/release/test_fast_bundle.py` 는 레인의 각 `pytest` 호출에 `--full` 이 있는지확인한다.+같은 픽셀이라도 zlib 차이로 리눅스와 macOS에서 PNG 파일 바이트가 달라 macOS에서 파일 바이트를 재서 박은 시험이 리눅스 레인에서 아무것도 안 바뀐 채 실패한 적이 있으므로, 기계 사이에 고정하는 sha256 값은 출력 파일의 바이트가 아니라 `tests/picture_digest.py`의 `picture_digest`를 써서 디코딩한 그림(모든 프레임을 RGBA로 디코딩한 픽셀과 각 프레임의 크기, 프레임 개수)으로 박는다. 손실 압축 파일(JPEG, 손실 WebP)은 디코더 빌드에 따라 픽셀도 달라질 수 있으니 값을 박지 말고 같은 실행 안에서 만든 짝과 비교한다.+실제 rife-ncnn-vulkan 을 돌리는 시험은 `real_rife` 표시를 단다(`pyproject.toml` 이 등록하고,`tests/conftest.py` 가 RIFE 를 못 찾으면 그 표시가 붙은 시험을 건너뛴다). `--rife-unmeasured` 는RIFE 가 닿는 곳이 하나도 없는 상태로 스위트 전체를 돌려 그 시험들이 이 이유로 건너뛰어지고,