pixelkiln 0.92.0 → 0.92.1
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/docs/GENERATORS.md
CHANGED
|
@@ -721,8 +721,11 @@ is what PixelLab enforces.
|
|
|
721
721
|
A style whose `palette` was already set keeps its hash, so `plan` does not
|
|
722
722
|
call it stale, but regenerating it will now send that palette on the routes
|
|
723
723
|
above (it was already true for `imagePro`). **Costs are unchanged by
|
|
724
|
-
PixelLab's documentation and
|
|
725
|
-
call billed exactly 10
|
|
724
|
+
PixelLab's documentation**, and two more routes are now measured with a
|
|
725
|
+
palette: `imagePro` (a 64×64 call billed exactly 10), `imageProFlash` (a
|
|
726
|
+
32×32 still billed exactly 5, in only the four palette colours) and `tiles`
|
|
727
|
+
(one numbered description, 4 tiles at 16px, billed exactly 10, every
|
|
728
|
+
candidate in the palette's greens). The other routes are tested against mocked
|
|
726
729
|
requests only. `maxColors` without a `palette` on a multi-direction asset
|
|
727
730
|
caps each direction separately, so the directions may pick different colours;
|
|
728
731
|
give `colors` for those. Not done: `/create-character-v3` and the 4-direction
|
package/docs/PIXELLAB.md
CHANGED
|
@@ -183,8 +183,9 @@ states, portraits and outfits), Pro `terrain`, and the `interpolate` and
|
|
|
183
183
|
`edit-animation` revisions send a style's `palette`, `paletteName` and
|
|
184
184
|
`maxColors` as `target_palette`. Standard characters and every character
|
|
185
185
|
animation keep their `color_image` swatch, and `pixflux` keeps its own. Costs
|
|
186
|
-
with a palette are
|
|
187
|
-
|
|
186
|
+
with a palette are measured for `imagePro` (10), `imageProFlash` (a 32×32
|
|
187
|
+
still, 5, in only the four palette colours), and `tiles` (4 tiles at 16px,
|
|
188
|
+
10), and unverified elsewhere. The other routes are covered by mocked tests only.
|
|
188
189
|
|
|
189
190
|
## Learn from PixelLab's tutorials
|
|
190
191
|
|
package/package.json
CHANGED
|
@@ -408,7 +408,7 @@ and which tutorial(s) demonstrated real (not hypothetical) demand for it.
|
|
|
408
408
|
revisions, through one helper (`targetPaletteBody`). `paletteName` and
|
|
409
409
|
`maxColors` are style fields on those generators, hashed only when set; an
|
|
410
410
|
existing style `palette` keeps its hash and is simply sent on regeneration.
|
|
411
|
-
**
|
|
411
|
+
**Measured live** with a Game Boy palette: `imageProFlash` (a 32×32 still, 5, only the four colours) and `tiles` (4 tiles at 16px, 10, every candidate in the palette), matching the plan, as `imagePro` did (10). **The other routes are mocked tests only, costs unmeasured.** **Not done**:
|
|
412
412
|
standard character bases and every character animation (their verified
|
|
413
413
|
`color_image` + `force_colors` swatch stays, and the schema does not say it
|
|
414
414
|
combines), the standard terrain set (the field is "mode='pro' only"), the
|
|
@@ -215,7 +215,7 @@ characters (bases, states, portraits, outfits), top-down Pro `terrain`, and
|
|
|
215
215
|
`interpolate`/`edit-animation` revisions, with `paletteName`/`maxColors`
|
|
216
216
|
accepted on those generators' styles. Standard characters and character
|
|
217
217
|
animations keep their `color_image` swatch, `pixflux` its own, and the
|
|
218
|
-
costs are
|
|
218
|
+
costs with a palette are measured for `imagePro`, `imageProFlash`, and `tiles`, and unmeasured elsewhere (see `docs/GENERATORS.md#target-palette`).
|
|
219
219
|
PixelLab's `smart` palette
|
|
220
220
|
mapping is not wrapped: it is "single images only", and this endpoint
|
|
221
221
|
returns a grid of candidates below 171px. Reference
|