@pixerate/editor 0.91.0 → 0.93.0
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-PDCITYBT.cjs → chunk-4F3YDIWW.cjs} +367 -2
- package/dist/chunk-4F3YDIWW.cjs.map +1 -0
- package/dist/{chunk-YLB2WVNA.js → chunk-ISDCJHTO.js} +367 -2
- package/dist/chunk-ISDCJHTO.js.map +1 -0
- package/dist/image-editor/index.cjs +36 -11
- package/dist/image-editor/index.cjs.map +1 -1
- package/dist/image-editor/index.d.cts +1 -1
- package/dist/image-editor/index.d.ts +1 -1
- package/dist/image-editor/index.js +26 -1
- package/dist/image-editor/index.js.map +1 -1
- package/dist/paint/index.cjs +26 -2
- package/dist/paint/index.cjs.map +1 -1
- package/dist/paint/index.d.cts +95 -1
- package/dist/paint/index.d.ts +95 -1
- package/dist/paint/index.js +25 -1
- package/dist/video-editor/index.cjs +604 -340
- package/dist/video-editor/index.cjs.map +1 -1
- package/dist/video-editor/index.d.cts +470 -28
- package/dist/video-editor/index.d.ts +470 -28
- package/dist/video-editor/index.js +521 -257
- package/dist/video-editor/index.js.map +1 -1
- package/package.json +3 -3
- package/skills/pixerate-image-editor/SKILL.md +8 -0
- package/skills/pixerate-video-editor/SKILL.md +22 -3
- package/dist/chunk-PDCITYBT.cjs.map +0 -1
- package/dist/chunk-YLB2WVNA.js.map +0 -1
|
@@ -3,7 +3,7 @@ export { a as BLEND_MODES, b as BlendModeInfo, M as MaskSurface, R as RasterRect
|
|
|
3
3
|
import { RasterLayerBase, RasterMask as RasterMask$1, RasterPixelLayer, GroupBlendMode, LayerLocation as LayerLocation$1, LayerLocks, RasterSources, RasterCompositor, CompositorOptions } from '../raster/index.cjs';
|
|
4
4
|
export { CompositeCallOptions, CompositeStats, DIRECT_GAUSSIAN_MAX_SIGMA, DecodedPng, ZlibError, adler32, base64ToBytes, blendTile, bytesToBase64, changedTiles, decodePng, deflate, deflateRaw, encodePng, findLayer, flattenLayers, gaussianBlur, inflate, inflateRaw, insertLayer, isLayerLocked, isPng, mapLayer, parseDataUrl, pngDataUrl } from '../raster/index.cjs';
|
|
5
5
|
import { BrushSettings, StrokeCoverage, StrokeApply, StrokePoint } from '../paint/index.cjs';
|
|
6
|
-
export { CoverageMap, DEFAULT_BRUSH, Dab, DabWalker, MAX_BRUSH_SIZE, applyStrokeToTile, coverageTileCoord, dabCoverage, dabRect, normalizeBrush, rasterizeDab, smoothPoints, tipFalloff, tipReach, tipShape, walkDabs } from '../paint/index.cjs';
|
|
6
|
+
export { CoverageMap, DEFAULT_BRUSH, Dab, DabWalker, MAX_BRUSH_SIZE, PIGMENT_BANDS, PIGMENT_LAMBDA_MIN, PIGMENT_LAMBDA_STEP, PIGMENT_WAVELENGTHS, Pigment, PigmentOptions, PigmentRgb, applyStrokeToTile, coverageTileCoord, createPigment, createPigmentTools, dabCoverage, dabRect, lerpPigment, lerpPigmentInto, mixPigments, normalizeBrush, rasterizeDab, reflectanceToRgb, rgbToReflectance, setPigmentColor, smoothPoints, tipFalloff, tipReach, tipShape, walkDabs } from '../paint/index.cjs';
|
|
7
7
|
import { b as LoadReport, J as JsonObject, f as MigrationStep } from '../migrate-iTlm3a8h.cjs';
|
|
8
8
|
import { a as AgentToolProvider, A as AgentTool } from '../registry-BqA1AZt0.cjs';
|
|
9
9
|
import { b as CaptureSurface } from '../capture-DFEMFmVt.cjs';
|
|
@@ -3,7 +3,7 @@ export { a as BLEND_MODES, b as BlendModeInfo, M as MaskSurface, R as RasterRect
|
|
|
3
3
|
import { RasterLayerBase, RasterMask as RasterMask$1, RasterPixelLayer, GroupBlendMode, LayerLocation as LayerLocation$1, LayerLocks, RasterSources, RasterCompositor, CompositorOptions } from '../raster/index.js';
|
|
4
4
|
export { CompositeCallOptions, CompositeStats, DIRECT_GAUSSIAN_MAX_SIGMA, DecodedPng, ZlibError, adler32, base64ToBytes, blendTile, bytesToBase64, changedTiles, decodePng, deflate, deflateRaw, encodePng, findLayer, flattenLayers, gaussianBlur, inflate, inflateRaw, insertLayer, isLayerLocked, isPng, mapLayer, parseDataUrl, pngDataUrl } from '../raster/index.js';
|
|
5
5
|
import { BrushSettings, StrokeCoverage, StrokeApply, StrokePoint } from '../paint/index.js';
|
|
6
|
-
export { CoverageMap, DEFAULT_BRUSH, Dab, DabWalker, MAX_BRUSH_SIZE, applyStrokeToTile, coverageTileCoord, dabCoverage, dabRect, normalizeBrush, rasterizeDab, smoothPoints, tipFalloff, tipReach, tipShape, walkDabs } from '../paint/index.js';
|
|
6
|
+
export { CoverageMap, DEFAULT_BRUSH, Dab, DabWalker, MAX_BRUSH_SIZE, PIGMENT_BANDS, PIGMENT_LAMBDA_MIN, PIGMENT_LAMBDA_STEP, PIGMENT_WAVELENGTHS, Pigment, PigmentOptions, PigmentRgb, applyStrokeToTile, coverageTileCoord, createPigment, createPigmentTools, dabCoverage, dabRect, lerpPigment, lerpPigmentInto, mixPigments, normalizeBrush, rasterizeDab, reflectanceToRgb, rgbToReflectance, setPigmentColor, smoothPoints, tipFalloff, tipReach, tipShape, walkDabs } from '../paint/index.js';
|
|
7
7
|
import { b as LoadReport, J as JsonObject, f as MigrationStep } from '../migrate-iTlm3a8h.js';
|
|
8
8
|
import { a as AgentToolProvider, A as AgentTool } from '../registry-D-4fit9C.js';
|
|
9
9
|
import { b as CaptureSurface } from '../capture-wwNGaW05.js';
|
|
@@ -34,19 +34,31 @@ import {
|
|
|
34
34
|
DEFAULT_BRUSH,
|
|
35
35
|
DabWalker,
|
|
36
36
|
MAX_BRUSH_SIZE,
|
|
37
|
+
PIGMENT_BANDS,
|
|
38
|
+
PIGMENT_LAMBDA_MIN,
|
|
39
|
+
PIGMENT_LAMBDA_STEP,
|
|
40
|
+
PIGMENT_WAVELENGTHS,
|
|
37
41
|
StrokeCoverage,
|
|
38
42
|
applyStrokeToTile,
|
|
39
43
|
coverageTileCoord,
|
|
44
|
+
createPigment,
|
|
45
|
+
createPigmentTools,
|
|
40
46
|
dabCoverage,
|
|
41
47
|
dabRect,
|
|
48
|
+
lerpPigment,
|
|
49
|
+
lerpPigmentInto,
|
|
50
|
+
mixPigments,
|
|
42
51
|
normalizeBrush,
|
|
43
52
|
rasterizeDab,
|
|
53
|
+
reflectanceToRgb,
|
|
54
|
+
rgbToReflectance,
|
|
55
|
+
setPigmentColor,
|
|
44
56
|
smoothPoints,
|
|
45
57
|
tipFalloff,
|
|
46
58
|
tipReach,
|
|
47
59
|
tipShape,
|
|
48
60
|
walkDabs
|
|
49
|
-
} from "../chunk-
|
|
61
|
+
} from "../chunk-ISDCJHTO.js";
|
|
50
62
|
import {
|
|
51
63
|
BLEND_MODES,
|
|
52
64
|
SurfaceDraft,
|
|
@@ -11729,6 +11741,7 @@ function createImageEditorToolProvider(controller, options = {}) {
|
|
|
11729
11741
|
...createImageEditTools(controller),
|
|
11730
11742
|
...createImageLayerTools(controller),
|
|
11731
11743
|
...createImagePaintTools(controller),
|
|
11744
|
+
...createPigmentTools(),
|
|
11732
11745
|
...createImagePsdTools(controller)
|
|
11733
11746
|
]
|
|
11734
11747
|
};
|
|
@@ -12386,6 +12399,10 @@ export {
|
|
|
12386
12399
|
MIN_KELVIN,
|
|
12387
12400
|
MIRED_PER_TEMPERATURE_UNIT,
|
|
12388
12401
|
PAINT_TOOLS,
|
|
12402
|
+
PIGMENT_BANDS,
|
|
12403
|
+
PIGMENT_LAMBDA_MIN,
|
|
12404
|
+
PIGMENT_LAMBDA_STEP,
|
|
12405
|
+
PIGMENT_WAVELENGTHS,
|
|
12389
12406
|
PSD_BLEND_KEYS,
|
|
12390
12407
|
PSD_FILE_ACCEPT,
|
|
12391
12408
|
PaintGesture,
|
|
@@ -12477,6 +12494,8 @@ export {
|
|
|
12477
12494
|
createImagePaintTools,
|
|
12478
12495
|
createImagePsdTools,
|
|
12479
12496
|
createImageSelectionTools,
|
|
12497
|
+
createPigment,
|
|
12498
|
+
createPigmentTools,
|
|
12480
12499
|
createSelectionMask,
|
|
12481
12500
|
curveLut,
|
|
12482
12501
|
curveLutFromLevels,
|
|
@@ -12595,6 +12614,8 @@ export {
|
|
|
12595
12614
|
legacyAdjustmentLayer,
|
|
12596
12615
|
legacyMaskOf,
|
|
12597
12616
|
legacyView,
|
|
12617
|
+
lerpPigment,
|
|
12618
|
+
lerpPigmentInto,
|
|
12598
12619
|
levelsValue,
|
|
12599
12620
|
linearSrgbToXy,
|
|
12600
12621
|
linearToSrgb,
|
|
@@ -12605,6 +12626,7 @@ export {
|
|
|
12605
12626
|
maskSummary,
|
|
12606
12627
|
migrateSerializedImageEditorState,
|
|
12607
12628
|
migrateToLayeredState,
|
|
12629
|
+
mixPigments,
|
|
12608
12630
|
modifySelection,
|
|
12609
12631
|
moveCurvePoint,
|
|
12610
12632
|
moveLayer,
|
|
@@ -12660,6 +12682,7 @@ export {
|
|
|
12660
12682
|
refineCoverage,
|
|
12661
12683
|
refineEdgeHalo,
|
|
12662
12684
|
refineSelection,
|
|
12685
|
+
reflectanceToRgb,
|
|
12663
12686
|
removeAlpha,
|
|
12664
12687
|
removeCurvePoint,
|
|
12665
12688
|
removeLayer,
|
|
@@ -12673,6 +12696,7 @@ export {
|
|
|
12673
12696
|
resolveMosaicRegionBounds,
|
|
12674
12697
|
rgbToGray,
|
|
12675
12698
|
rgbToHsl,
|
|
12699
|
+
rgbToReflectance,
|
|
12676
12700
|
runLayerMenuAction,
|
|
12677
12701
|
sampleLut,
|
|
12678
12702
|
sampleToneLut,
|
|
@@ -12692,6 +12716,7 @@ export {
|
|
|
12692
12716
|
setLayerMask,
|
|
12693
12717
|
setLayerProperties,
|
|
12694
12718
|
setLum,
|
|
12719
|
+
setPigmentColor,
|
|
12695
12720
|
shiftCoverage,
|
|
12696
12721
|
smoothCoverage,
|
|
12697
12722
|
smoothPoints,
|