Use shared density for spritesheet sizing
This commit is contained in:
parent
68a7e0ab0d
commit
afd1076b7b
7 changed files with 157 additions and 18 deletions
|
|
@ -36,8 +36,10 @@ Do not continue implementation automatically from a rehydrate-only request.
|
|||
- `source_structure` exists alongside `source_fidelity` so visible structure and lattice agreement can be inspected separately.
|
||||
- Cleanup is alpha snap plus diagnostics.
|
||||
- `src/repixelizer/spritesheet.py` owns spritesheet region detection and packing.
|
||||
It calls `run_pipeline_rgba(...)` once per detected crop; pinned target sizes
|
||||
apply per sprite, not to the whole sheet.
|
||||
In automatic mode it probes crop sizes, chooses one shared
|
||||
source-pixels-per-texel density for the sheet, then calls
|
||||
`run_pipeline_rgba(...)` once per detected crop. Pinned target sizes apply per
|
||||
sprite and bypass shared-density sizing.
|
||||
|
||||
## Hosted/web state
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue