@ikijs/mcp 0.11.2 → 0.11.3
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/dist/{chunk-ZWDX42O2.mjs → chunk-CFP3KTDY.mjs} +521 -698
- package/dist/chunk-CFP3KTDY.mjs.map +1 -0
- package/dist/cli.js +523 -709
- package/dist/cli.js.map +1 -1
- package/dist/cli.mjs +1 -1
- package/dist/index.d.mts +8 -17
- package/dist/index.d.ts +8 -17
- package/dist/index.js +523 -709
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
- package/dist/chunk-ZWDX42O2.mjs.map +0 -1
package/dist/cli.mjs
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -162,23 +162,13 @@ type AutoRigResult = {
|
|
|
162
162
|
* the textures (Node sharp), validate, and write the renderable `.iki` to disk.
|
|
163
163
|
* Returns the output path + summary stats (the multi-MB model is never inlined).
|
|
164
164
|
*
|
|
165
|
-
* The head turn is fitted to `input.turnTargets`, on
|
|
166
|
-
* measures off the layers
|
|
167
|
-
* `
|
|
168
|
-
*
|
|
169
|
-
*
|
|
170
|
-
*
|
|
171
|
-
*
|
|
172
|
-
* (`strandEdges`), so the turn keeps the far iris from sliding under the bangs
|
|
173
|
-
* any further than it is painted; a run narrower than half the iris there is
|
|
174
|
-
* hair detail the iris may cross, and is skipped. The nose layer alone also
|
|
175
|
-
* gets its dense core measured (`LayerInput.denseCore`, returned as
|
|
176
|
-
* `noseCore`), so a shaded nose is fitted and tilted by the drawing inside its
|
|
177
|
-
* feather rather than by the feather itself — unless that core is a speck of
|
|
178
|
-
* the nose's crop (`isSpeckCore`), which is not handed over: the crop stands
|
|
179
|
-
* in, as it does for a nose with no core. Under `quantizeColors` that nose
|
|
180
|
-
* is atlased alone on a second, lossless page, which the palette would
|
|
181
|
-
* otherwise rim; `atlasBytes` sums both pages.
|
|
165
|
+
* The head turn is fitted to `input.turnTargets`, on what @ikijs/editor's
|
|
166
|
+
* `createLayerSetMeasurer` measures off the decoded layers (the head
|
|
167
|
+
* half-width, `headEdges`, `strandEdges`, the face's `rowHalfWidths` and the
|
|
168
|
+
* nose's dense core, returned as `noseCore`); what the solve settled on comes
|
|
169
|
+
* back in `turn`. Under `quantizeColors` the nose is atlased alone on a
|
|
170
|
+
* second, lossless page, which the palette would otherwise rim; `atlasBytes`
|
|
171
|
+
* sums both pages.
|
|
182
172
|
*
|
|
183
173
|
* Re-host of examples/editor/src/store.ts `importLayerSet` with the three DOM
|
|
184
174
|
* pixel functions swapped for the sharp-backed ./node-images helpers; the pure
|
|
@@ -470,6 +460,7 @@ declare function composeLayersFromParts(input: ComposeInput): Promise<ComposeRes
|
|
|
470
460
|
* `sharp` must stay confined to @ikijs/mcp; the decode and the debug-overlay
|
|
471
461
|
* encode both go through ./node-images, this package's single image boundary.
|
|
472
462
|
*/
|
|
463
|
+
|
|
473
464
|
/**
|
|
474
465
|
* Hue/saturation window that selects the iris. Anime irises are a saturated
|
|
475
466
|
* colour on a face that is not, which is what makes them findable at all; the
|
package/dist/index.d.ts
CHANGED
|
@@ -162,23 +162,13 @@ type AutoRigResult = {
|
|
|
162
162
|
* the textures (Node sharp), validate, and write the renderable `.iki` to disk.
|
|
163
163
|
* Returns the output path + summary stats (the multi-MB model is never inlined).
|
|
164
164
|
*
|
|
165
|
-
* The head turn is fitted to `input.turnTargets`, on
|
|
166
|
-
* measures off the layers
|
|
167
|
-
* `
|
|
168
|
-
*
|
|
169
|
-
*
|
|
170
|
-
*
|
|
171
|
-
*
|
|
172
|
-
* (`strandEdges`), so the turn keeps the far iris from sliding under the bangs
|
|
173
|
-
* any further than it is painted; a run narrower than half the iris there is
|
|
174
|
-
* hair detail the iris may cross, and is skipped. The nose layer alone also
|
|
175
|
-
* gets its dense core measured (`LayerInput.denseCore`, returned as
|
|
176
|
-
* `noseCore`), so a shaded nose is fitted and tilted by the drawing inside its
|
|
177
|
-
* feather rather than by the feather itself — unless that core is a speck of
|
|
178
|
-
* the nose's crop (`isSpeckCore`), which is not handed over: the crop stands
|
|
179
|
-
* in, as it does for a nose with no core. Under `quantizeColors` that nose
|
|
180
|
-
* is atlased alone on a second, lossless page, which the palette would
|
|
181
|
-
* otherwise rim; `atlasBytes` sums both pages.
|
|
165
|
+
* The head turn is fitted to `input.turnTargets`, on what @ikijs/editor's
|
|
166
|
+
* `createLayerSetMeasurer` measures off the decoded layers (the head
|
|
167
|
+
* half-width, `headEdges`, `strandEdges`, the face's `rowHalfWidths` and the
|
|
168
|
+
* nose's dense core, returned as `noseCore`); what the solve settled on comes
|
|
169
|
+
* back in `turn`. Under `quantizeColors` the nose is atlased alone on a
|
|
170
|
+
* second, lossless page, which the palette would otherwise rim; `atlasBytes`
|
|
171
|
+
* sums both pages.
|
|
182
172
|
*
|
|
183
173
|
* Re-host of examples/editor/src/store.ts `importLayerSet` with the three DOM
|
|
184
174
|
* pixel functions swapped for the sharp-backed ./node-images helpers; the pure
|
|
@@ -470,6 +460,7 @@ declare function composeLayersFromParts(input: ComposeInput): Promise<ComposeRes
|
|
|
470
460
|
* `sharp` must stay confined to @ikijs/mcp; the decode and the debug-overlay
|
|
471
461
|
* encode both go through ./node-images, this package's single image boundary.
|
|
472
462
|
*/
|
|
463
|
+
|
|
473
464
|
/**
|
|
474
465
|
* Hue/saturation window that selects the iris. Anime irises are a saturated
|
|
475
466
|
* colour on a face that is not, which is what makes them findable at all; the
|