@pixerate/editor 0.120.0 → 0.122.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/THIRD_PARTY_NOTICES.md +1 -1
- package/dist/{chunk-HTAFDTNR.cjs → chunk-4PUPGALM.cjs} +251 -156
- package/dist/chunk-4PUPGALM.cjs.map +1 -0
- package/dist/{chunk-N3467VD6.js → chunk-7QN76ESJ.js} +1 -179
- package/dist/chunk-7QN76ESJ.js.map +1 -0
- package/dist/{chunk-UMVW2Q66.js → chunk-CLTTLLWA.js} +1090 -982
- package/dist/chunk-CLTTLLWA.js.map +1 -0
- package/dist/{chunk-EJVDBITD.cjs → chunk-DCLJNVZS.cjs} +2 -180
- package/dist/chunk-DCLJNVZS.cjs.map +1 -0
- package/dist/{chunk-WMRIG4XQ.cjs → chunk-DFFBJV3U.cjs} +1855 -1747
- package/dist/chunk-DFFBJV3U.cjs.map +1 -0
- package/dist/chunk-GX332W2C.js +181 -0
- package/dist/chunk-GX332W2C.js.map +1 -0
- package/dist/{chunk-BOWUU4LJ.js → chunk-IX3YKUVK.js} +105 -10
- package/dist/chunk-IX3YKUVK.js.map +1 -0
- package/dist/{chunk-TS5IEUW6.cjs → chunk-K7V27T72.cjs} +178 -3
- package/dist/chunk-K7V27T72.cjs.map +1 -0
- package/dist/chunk-MUUXNRU4.cjs +181 -0
- package/dist/chunk-MUUXNRU4.cjs.map +1 -0
- package/dist/{chunk-YHW26LS2.js → chunk-ZZPGTNXJ.js} +177 -2
- package/dist/chunk-ZZPGTNXJ.js.map +1 -0
- package/dist/{render-B05K68_h.d.ts → deep-DLwKZDFr.d.ts} +143 -134
- package/dist/{render-DnAbIKcs.d.cts → deep-QS3ppbMX.d.cts} +143 -134
- package/dist/{export-D2D8hb_u.d.ts → export-VmTofKIk.d.ts} +11 -4
- package/dist/{export-fP2hZYjm.d.cts → export-jKKj8Fg8.d.cts} +11 -4
- package/dist/image-editor/index.cjs +760 -734
- package/dist/image-editor/index.cjs.map +1 -1
- package/dist/image-editor/index.d.cts +18 -6
- package/dist/image-editor/index.d.ts +18 -6
- package/dist/image-editor/index.js +37 -11
- package/dist/image-editor/index.js.map +1 -1
- package/dist/paint/index.cjs +22 -2
- package/dist/paint/index.cjs.map +1 -1
- package/dist/paint/index.d.cts +159 -1
- package/dist/paint/index.d.ts +159 -1
- package/dist/paint/index.js +21 -1
- package/dist/paint-editor/index.cjs +95 -94
- package/dist/paint-editor/index.cjs.map +1 -1
- package/dist/paint-editor/index.d.cts +2 -2
- package/dist/paint-editor/index.d.ts +2 -2
- package/dist/paint-editor/index.js +12 -11
- package/dist/paint-editor/index.js.map +1 -1
- package/dist/raster/index.cjs +5 -4
- package/dist/raster/index.cjs.map +1 -1
- package/dist/raster/index.d.cts +29 -7
- package/dist/raster/index.d.ts +29 -7
- package/dist/raster/index.js +11 -10
- package/dist/vector/index.cjs +14 -12
- package/dist/vector/index.cjs.map +1 -1
- package/dist/vector/index.js +7 -5
- package/dist/vector/index.js.map +1 -1
- package/package.json +1 -1
- package/skills/pixerate-canvas/SKILL.md +23 -1
- package/skills/pixerate-image-editor/SKILL.md +7 -1
- package/skills/pixerate-image-editor/references/photoshop-files.md +4 -3
- package/skills/pixerate-paint-editor/SKILL.md +32 -7
- package/dist/chunk-BOWUU4LJ.js.map +0 -1
- package/dist/chunk-EJVDBITD.cjs.map +0 -1
- package/dist/chunk-HTAFDTNR.cjs.map +0 -1
- package/dist/chunk-N3467VD6.js.map +0 -1
- package/dist/chunk-TS5IEUW6.cjs.map +0 -1
- package/dist/chunk-UMVW2Q66.js.map +0 -1
- package/dist/chunk-WMRIG4XQ.cjs.map +0 -1
- package/dist/chunk-YHW26LS2.js.map +0 -1
|
@@ -558,6 +558,143 @@ declare function isLayerLocked(layer: {
|
|
|
558
558
|
locks?: LayerLocks;
|
|
559
559
|
}, what: keyof LayerLocks): boolean;
|
|
560
560
|
|
|
561
|
+
/**
|
|
562
|
+
* CPU renderer for layer effects.
|
|
563
|
+
*
|
|
564
|
+
* Render order, bottom to top (Photoshop's layer-style stack read upwards): drop shadows, outer
|
|
565
|
+
* glows, then the layer itself (content at fill opacity) with pattern, gradient and colour
|
|
566
|
+
* overlays, satin, inner glows, inner shadows, the inside part of strokes and inner bevels on
|
|
567
|
+
* top. The outside part of strokes and outer bevels go beneath the layer, onto the backdrop.
|
|
568
|
+
* Exterior effects blend straight into the backdrop with their own modes; the layer blends with
|
|
569
|
+
* its mode and, in a mode other than Normal, is merged into the backdrop before the interior
|
|
570
|
+
* effects paint over it (Photoshop's "Blend Interior Effects as Group" off). Emboss and pillow
|
|
571
|
+
* emboss then shade the composited result. Layer opacity applies to the whole stack; fill
|
|
572
|
+
* opacity only to the layer's own pixels.
|
|
573
|
+
*
|
|
574
|
+
* Every map depends only on the layer's shape (its alpha after the mask), the effect settings
|
|
575
|
+
* and the global light, never on the backdrop. {@link buildEffectMaps} computes them once over the
|
|
576
|
+
* layer's whole region; {@link compositeLayerEffects} paints any part of that region (a tile) from
|
|
577
|
+
* them, pixel by pixel, so a tiled render equals a whole-image render.
|
|
578
|
+
*
|
|
579
|
+
* Distances: a stroke's outer edge uses the 5 × 5 chamfer below 20 px and an exact Euclidean
|
|
580
|
+
* transform from there (the chamfer's octagonal level sets facet wide strokes); inside strokes and
|
|
581
|
+
* spread / choke keep the chamfer; precise glows and chiselled bevels use the exact transform.
|
|
582
|
+
* Soft falloffs are two box blurs (a tent).
|
|
583
|
+
*/
|
|
584
|
+
|
|
585
|
+
interface EffectRect {
|
|
586
|
+
x: number;
|
|
587
|
+
y: number;
|
|
588
|
+
width: number;
|
|
589
|
+
height: number;
|
|
590
|
+
}
|
|
591
|
+
/** Outside stroke width from which the outer edge uses the exact Euclidean transform. */
|
|
592
|
+
declare const STROKE_CHAMFER_MAX = 20;
|
|
593
|
+
/** A contour as a 0..1 LUT (corner points split the spline), or `null` for linear. */
|
|
594
|
+
declare function contourLut(c: EffectContour | undefined): Float32Array | null;
|
|
595
|
+
/** Where a bevel paints: inside the shape, outside it, or both (emboss styles). */
|
|
596
|
+
type BevelPaint = 'inner' | 'outer' | 'both';
|
|
597
|
+
interface EffectContext {
|
|
598
|
+
light: GlobalLight;
|
|
599
|
+
/** A pattern tile by id, or `null` when missing (pattern effects then paint nothing). */
|
|
600
|
+
pattern(id: string): PatternTile | null;
|
|
601
|
+
}
|
|
602
|
+
/** Effect maps of one layer over its region: see {@link buildEffectMaps}. */
|
|
603
|
+
interface EffectMaps {
|
|
604
|
+
/** The region the maps cover (document space). */
|
|
605
|
+
rect: EffectRect;
|
|
606
|
+
/** The enabled effects, Scale Effects applied, in list order. */
|
|
607
|
+
items: LayerEffect[];
|
|
608
|
+
/** Pixel bounds of the shape (alpha above half a step), or `null` when the shape is empty. */
|
|
609
|
+
bounds: EffectRect | null;
|
|
610
|
+
shape: Float32Array;
|
|
611
|
+
/** Per item: the maps it paints through. */
|
|
612
|
+
per: Float32Array[][];
|
|
613
|
+
bevelPaint: (BevelPaint | null)[];
|
|
614
|
+
din: Float32Array | null;
|
|
615
|
+
dout: Float32Array | null;
|
|
616
|
+
doutExact: Float32Array | null;
|
|
617
|
+
/** Frames of gradient strokes by item index. */
|
|
618
|
+
frames: Map<number, EffectRect>;
|
|
619
|
+
/** Approximate size in bytes (cache budgeting). */
|
|
620
|
+
bytes: number;
|
|
621
|
+
}
|
|
622
|
+
/** The enabled effects of `effects` with Scale Effects applied (empty when the master switch is off). */
|
|
623
|
+
declare function activeEffectItems(effects: LayerEffects | undefined | null): LayerEffect[];
|
|
624
|
+
/**
|
|
625
|
+
* Whether every map pixel of `items` depends only on the shape within the effects' margin, so a
|
|
626
|
+
* tile is unchanged while the layer is unchanged within its margin. Not local: anything laid out
|
|
627
|
+
* over the layer's bounds (aligned gradient overlays, gradient strokes, linked patterns) and noise
|
|
628
|
+
* (it speckles any coverage above zero, which picks up the blur's float noise from far away).
|
|
629
|
+
*/
|
|
630
|
+
declare function effectsAreLocal(items: readonly LayerEffect[]): boolean;
|
|
631
|
+
/**
|
|
632
|
+
* Builds every map `items` paints through from the layer's alpha `shape` (0..1) over `rect`.
|
|
633
|
+
* `rect` should cover the layer's shape plus the effects' margin.
|
|
634
|
+
*/
|
|
635
|
+
declare function buildEffectMaps(items: LayerEffect[], shape: Float32Array, rect: EffectRect, ctx: EffectContext): EffectMaps;
|
|
636
|
+
/**
|
|
637
|
+
* `prev` brought up to date for a shape over `rect` that differs from the one it was built from only
|
|
638
|
+
* inside `changed` (document rects), or `null` when a full {@link buildEffectMaps} is the better
|
|
639
|
+
* deal (the change covers much of the region) or the effects are not local
|
|
640
|
+
* ({@link effectsAreLocal}). `items` must be the ones `prev` was built with, reaching at most
|
|
641
|
+
* `margin` px, and `shapeOver(r)` returns the new shape over `r`.
|
|
642
|
+
*
|
|
643
|
+
* Every map pixel within `margin` of a change, or outside `prev.rect`, is rebuilt from the shape
|
|
644
|
+
* within `margin` of it (a window of the change grown by twice the margin) and pasted in; the rest
|
|
645
|
+
* is kept. A local map pixel depends only on the shape within the margin and the blur sums exactly,
|
|
646
|
+
* so the result paints exactly what a full build over `rect` would. `prev`'s buffers are reused
|
|
647
|
+
* when `rect` is unchanged.
|
|
648
|
+
*/
|
|
649
|
+
declare function patchEffectMaps(prev: EffectMaps, items: LayerEffect[], rect: EffectRect, changed: readonly EffectRect[], margin: number, shapeOver: (r: EffectRect) => Float32Array, ctx: EffectContext): EffectMaps | null;
|
|
650
|
+
/** Gradient parameter `t` (0..1) at pixel centre `(x, y)` of a gradient laid out in `frame`. */
|
|
651
|
+
declare function gradientT(style: GradientStyle, angle: number, scale: number, reverse: boolean, offset: {
|
|
652
|
+
x: number;
|
|
653
|
+
y: number;
|
|
654
|
+
}, frame: EffectRect, x: number, y: number): number;
|
|
655
|
+
/**
|
|
656
|
+
* The colours an effect fill paints over `rect`, as straight float RGBA (0..1, `width × height`
|
|
657
|
+
* pixels, row by row): a solid colour, a gradient laid out in `frame` (when aligned with the layer)
|
|
658
|
+
* or `canvas`, or a pattern tiled from `anchor` (when linked). Shape layers paint with it, so their
|
|
659
|
+
* fills and strokes match the overlays of layer effects.
|
|
660
|
+
*/
|
|
661
|
+
declare function effectFillColors(fill: EffectFill, rect: EffectRect, frame: EffectRect, canvas: EffectRect, anchor: {
|
|
662
|
+
x: number;
|
|
663
|
+
y: number;
|
|
664
|
+
}, ctx: EffectContext): Float32Array;
|
|
665
|
+
interface EffectCompositeInput {
|
|
666
|
+
/**
|
|
667
|
+
* The accumulator (straight RGBA over `rect`); receives the layer and its effects. Bytes, or
|
|
668
|
+
* (high bit depth) floats 0..1 sRGB-encoded, written back unrounded.
|
|
669
|
+
*/
|
|
670
|
+
backdrop: Uint8ClampedArray | Float32Array;
|
|
671
|
+
/** The layer's pixels over `rect` (straight RGBA, mask applied to alpha, clipped layers applied); bytes or floats 0..1 as `backdrop`. */
|
|
672
|
+
content: Uint8ClampedArray | Float32Array;
|
|
673
|
+
rect: EffectRect;
|
|
674
|
+
maps: EffectMaps;
|
|
675
|
+
blend: BlendMode;
|
|
676
|
+
/** Layer opacity: the whole stack. */
|
|
677
|
+
opacity: number;
|
|
678
|
+
/** Fill opacity: the layer's own pixels only. */
|
|
679
|
+
fillOpacity: number;
|
|
680
|
+
/** The canvas (unaligned gradients span it). */
|
|
681
|
+
canvas: EffectRect;
|
|
682
|
+
ctx: EffectContext;
|
|
683
|
+
}
|
|
684
|
+
/** Composites a layer's content and its effects onto `backdrop` in place (see the module comment for the order). */
|
|
685
|
+
declare function compositeLayerEffects(input: EffectCompositeInput): void;
|
|
686
|
+
/**
|
|
687
|
+
* Renders one layer with its effects over a whole region in one pass (no tiles): the reference
|
|
688
|
+
* the per-tile compositor is checked against, and a convenience for one-off renders.
|
|
689
|
+
*/
|
|
690
|
+
declare function renderLayerEffects(effects: LayerEffects, layer: {
|
|
691
|
+
content: Uint8ClampedArray;
|
|
692
|
+
rect: EffectRect;
|
|
693
|
+
blend: BlendMode;
|
|
694
|
+
opacity: number;
|
|
695
|
+
fillOpacity?: number;
|
|
696
|
+
}, backdrop: Uint8ClampedArray, canvas: EffectRect, ctx: EffectContext): void;
|
|
697
|
+
|
|
561
698
|
/**
|
|
562
699
|
* The per-tile layer compositor engine. Composites a layer stack (pixel layers and groups with
|
|
563
700
|
* masks, clipping, blend modes, opacity, fill and pass-through) tile by tile in document space,
|
|
@@ -733,6 +870,12 @@ declare class RasterCompositor<L extends CompositorLayer = CompositorLayer, S ex
|
|
|
733
870
|
* over `r` in document space, or `null` when it reveals all of `r`.
|
|
734
871
|
*/
|
|
735
872
|
maskCoverage(layer: L, r: RasterRect, sources: S): Float32Array | null;
|
|
873
|
+
/**
|
|
874
|
+
* For the float compositor: everything `compositeLayerEffects` needs for `layer` over `r` but
|
|
875
|
+
* the pixels (the area its effects reach inside `r`, the effect maps built from its 8-bit
|
|
876
|
+
* shape, blend, opacities, canvas and context), or `null` when nothing reaches `r`.
|
|
877
|
+
*/
|
|
878
|
+
effectsInput(layer: L, r: RasterRect, sources: S): Omit<EffectCompositeInput, 'backdrop' | 'content'> | null;
|
|
736
879
|
/** Pixel layers, and the layer kinds the profile composites like them. */
|
|
737
880
|
private isPixel;
|
|
738
881
|
private isFilter;
|
|
@@ -925,138 +1068,4 @@ declare function deepBytes(surface: TiledSurface): number;
|
|
|
925
1068
|
*/
|
|
926
1069
|
declare function keepDeepSamples(before: TiledSurface, after: TiledSurface): TiledSurface;
|
|
927
1070
|
|
|
928
|
-
/**
|
|
929
|
-
* CPU renderer for layer effects.
|
|
930
|
-
*
|
|
931
|
-
* Render order, bottom to top (Photoshop's layer-style stack read upwards): drop shadows, outer
|
|
932
|
-
* glows, then the layer itself (content at fill opacity) with pattern, gradient and colour
|
|
933
|
-
* overlays, satin, inner glows, inner shadows, the inside part of strokes and inner bevels on
|
|
934
|
-
* top. The outside part of strokes and outer bevels go beneath the layer, onto the backdrop.
|
|
935
|
-
* Exterior effects blend straight into the backdrop with their own modes; the layer blends with
|
|
936
|
-
* its mode and, in a mode other than Normal, is merged into the backdrop before the interior
|
|
937
|
-
* effects paint over it (Photoshop's "Blend Interior Effects as Group" off). Emboss and pillow
|
|
938
|
-
* emboss then shade the composited result. Layer opacity applies to the whole stack; fill
|
|
939
|
-
* opacity only to the layer's own pixels.
|
|
940
|
-
*
|
|
941
|
-
* Every map depends only on the layer's shape (its alpha after the mask), the effect settings
|
|
942
|
-
* and the global light, never on the backdrop. {@link buildEffectMaps} computes them once over the
|
|
943
|
-
* layer's whole region; {@link compositeLayerEffects} paints any part of that region (a tile) from
|
|
944
|
-
* them, pixel by pixel, so a tiled render equals a whole-image render.
|
|
945
|
-
*
|
|
946
|
-
* Distances: a stroke's outer edge uses the 5 × 5 chamfer below 20 px and an exact Euclidean
|
|
947
|
-
* transform from there (the chamfer's octagonal level sets facet wide strokes); inside strokes and
|
|
948
|
-
* spread / choke keep the chamfer; precise glows and chiselled bevels use the exact transform.
|
|
949
|
-
* Soft falloffs are two box blurs (a tent).
|
|
950
|
-
*/
|
|
951
|
-
|
|
952
|
-
interface EffectRect {
|
|
953
|
-
x: number;
|
|
954
|
-
y: number;
|
|
955
|
-
width: number;
|
|
956
|
-
height: number;
|
|
957
|
-
}
|
|
958
|
-
/** Outside stroke width from which the outer edge uses the exact Euclidean transform. */
|
|
959
|
-
declare const STROKE_CHAMFER_MAX = 20;
|
|
960
|
-
/** A contour as a 0..1 LUT (corner points split the spline), or `null` for linear. */
|
|
961
|
-
declare function contourLut(c: EffectContour | undefined): Float32Array | null;
|
|
962
|
-
/** Where a bevel paints: inside the shape, outside it, or both (emboss styles). */
|
|
963
|
-
type BevelPaint = 'inner' | 'outer' | 'both';
|
|
964
|
-
interface EffectContext {
|
|
965
|
-
light: GlobalLight;
|
|
966
|
-
/** A pattern tile by id, or `null` when missing (pattern effects then paint nothing). */
|
|
967
|
-
pattern(id: string): PatternTile | null;
|
|
968
|
-
}
|
|
969
|
-
/** Effect maps of one layer over its region: see {@link buildEffectMaps}. */
|
|
970
|
-
interface EffectMaps {
|
|
971
|
-
/** The region the maps cover (document space). */
|
|
972
|
-
rect: EffectRect;
|
|
973
|
-
/** The enabled effects, Scale Effects applied, in list order. */
|
|
974
|
-
items: LayerEffect[];
|
|
975
|
-
/** Pixel bounds of the shape (alpha above half a step), or `null` when the shape is empty. */
|
|
976
|
-
bounds: EffectRect | null;
|
|
977
|
-
shape: Float32Array;
|
|
978
|
-
/** Per item: the maps it paints through. */
|
|
979
|
-
per: Float32Array[][];
|
|
980
|
-
bevelPaint: (BevelPaint | null)[];
|
|
981
|
-
din: Float32Array | null;
|
|
982
|
-
dout: Float32Array | null;
|
|
983
|
-
doutExact: Float32Array | null;
|
|
984
|
-
/** Frames of gradient strokes by item index. */
|
|
985
|
-
frames: Map<number, EffectRect>;
|
|
986
|
-
/** Approximate size in bytes (cache budgeting). */
|
|
987
|
-
bytes: number;
|
|
988
|
-
}
|
|
989
|
-
/** The enabled effects of `effects` with Scale Effects applied (empty when the master switch is off). */
|
|
990
|
-
declare function activeEffectItems(effects: LayerEffects | undefined | null): LayerEffect[];
|
|
991
|
-
/**
|
|
992
|
-
* Whether every map pixel of `items` depends only on the shape within the effects' margin, so a
|
|
993
|
-
* tile is unchanged while the layer is unchanged within its margin. Not local: anything laid out
|
|
994
|
-
* over the layer's bounds (aligned gradient overlays, gradient strokes, linked patterns) and noise
|
|
995
|
-
* (it speckles any coverage above zero, which picks up the blur's float noise from far away).
|
|
996
|
-
*/
|
|
997
|
-
declare function effectsAreLocal(items: readonly LayerEffect[]): boolean;
|
|
998
|
-
/**
|
|
999
|
-
* Builds every map `items` paints through from the layer's alpha `shape` (0..1) over `rect`.
|
|
1000
|
-
* `rect` should cover the layer's shape plus the effects' margin.
|
|
1001
|
-
*/
|
|
1002
|
-
declare function buildEffectMaps(items: LayerEffect[], shape: Float32Array, rect: EffectRect, ctx: EffectContext): EffectMaps;
|
|
1003
|
-
/**
|
|
1004
|
-
* `prev` brought up to date for a shape over `rect` that differs from the one it was built from only
|
|
1005
|
-
* inside `changed` (document rects), or `null` when a full {@link buildEffectMaps} is the better
|
|
1006
|
-
* deal (the change covers much of the region) or the effects are not local
|
|
1007
|
-
* ({@link effectsAreLocal}). `items` must be the ones `prev` was built with, reaching at most
|
|
1008
|
-
* `margin` px, and `shapeOver(r)` returns the new shape over `r`.
|
|
1009
|
-
*
|
|
1010
|
-
* Every map pixel within `margin` of a change, or outside `prev.rect`, is rebuilt from the shape
|
|
1011
|
-
* within `margin` of it (a window of the change grown by twice the margin) and pasted in; the rest
|
|
1012
|
-
* is kept. A local map pixel depends only on the shape within the margin and the blur sums exactly,
|
|
1013
|
-
* so the result paints exactly what a full build over `rect` would. `prev`'s buffers are reused
|
|
1014
|
-
* when `rect` is unchanged.
|
|
1015
|
-
*/
|
|
1016
|
-
declare function patchEffectMaps(prev: EffectMaps, items: LayerEffect[], rect: EffectRect, changed: readonly EffectRect[], margin: number, shapeOver: (r: EffectRect) => Float32Array, ctx: EffectContext): EffectMaps | null;
|
|
1017
|
-
/** Gradient parameter `t` (0..1) at pixel centre `(x, y)` of a gradient laid out in `frame`. */
|
|
1018
|
-
declare function gradientT(style: GradientStyle, angle: number, scale: number, reverse: boolean, offset: {
|
|
1019
|
-
x: number;
|
|
1020
|
-
y: number;
|
|
1021
|
-
}, frame: EffectRect, x: number, y: number): number;
|
|
1022
|
-
/**
|
|
1023
|
-
* The colours an effect fill paints over `rect`, as straight float RGBA (0..1, `width × height`
|
|
1024
|
-
* pixels, row by row): a solid colour, a gradient laid out in `frame` (when aligned with the layer)
|
|
1025
|
-
* or `canvas`, or a pattern tiled from `anchor` (when linked). Shape layers paint with it, so their
|
|
1026
|
-
* fills and strokes match the overlays of layer effects.
|
|
1027
|
-
*/
|
|
1028
|
-
declare function effectFillColors(fill: EffectFill, rect: EffectRect, frame: EffectRect, canvas: EffectRect, anchor: {
|
|
1029
|
-
x: number;
|
|
1030
|
-
y: number;
|
|
1031
|
-
}, ctx: EffectContext): Float32Array;
|
|
1032
|
-
interface EffectCompositeInput {
|
|
1033
|
-
/** The accumulator (straight RGBA over `rect`); receives the layer and its effects. */
|
|
1034
|
-
backdrop: Uint8ClampedArray;
|
|
1035
|
-
/** The layer's pixels over `rect` (straight RGBA, mask applied to alpha, clipped layers applied). */
|
|
1036
|
-
content: Uint8ClampedArray;
|
|
1037
|
-
rect: EffectRect;
|
|
1038
|
-
maps: EffectMaps;
|
|
1039
|
-
blend: BlendMode;
|
|
1040
|
-
/** Layer opacity: the whole stack. */
|
|
1041
|
-
opacity: number;
|
|
1042
|
-
/** Fill opacity: the layer's own pixels only. */
|
|
1043
|
-
fillOpacity: number;
|
|
1044
|
-
/** The canvas (unaligned gradients span it). */
|
|
1045
|
-
canvas: EffectRect;
|
|
1046
|
-
ctx: EffectContext;
|
|
1047
|
-
}
|
|
1048
|
-
/** Composites a layer's content and its effects onto `backdrop` in place (see the module comment for the order). */
|
|
1049
|
-
declare function compositeLayerEffects(input: EffectCompositeInput): void;
|
|
1050
|
-
/**
|
|
1051
|
-
* Renders one layer with its effects over a whole region in one pass (no tiles): the reference
|
|
1052
|
-
* the per-tile compositor is checked against, and a convenience for one-off renders.
|
|
1053
|
-
*/
|
|
1054
|
-
declare function renderLayerEffects(effects: LayerEffects, layer: {
|
|
1055
|
-
content: Uint8ClampedArray;
|
|
1056
|
-
rect: EffectRect;
|
|
1057
|
-
blend: BlendMode;
|
|
1058
|
-
opacity: number;
|
|
1059
|
-
fillOpacity?: number;
|
|
1060
|
-
}, backdrop: Uint8ClampedArray, canvas: EffectRect, ctx: EffectContext): void;
|
|
1061
|
-
|
|
1062
1071
|
export { type PixelFilterSpec as $, type GradientOverlayEffect as A, BIT_DEPTHS as B, type CompositorLayer as C, DEFAULT_GLOBAL_LIGHT as D, type EffectCompositeInput as E, type GradientStyle as F, type GlobalLight as G, type GroupBlendMode as H, type GroupIn as I, INTERPOLATIONS as J, type InnerGlowEffect as K, type InnerShadowEffect as L, type Interpolation as M, LAYER_EFFECT_KINDS as N, type LayerEffect as O, LayerEffectError as P, type LayerEffectKind as Q, type RasterSources as R, type LayerEffects as S, type LayerLocation as T, type LayerLocks as U, MAX_EFFECT_REACH as V, MAX_TRANSFORM_PIXELS as W, type OuterGlowEffect as X, type PatternOverlayEffect as Y, PatternPlacement as Z, PatternTile as _, RasterCompositor as a, tileSamples as a$, type RasterGroupLayer as a0, type RasterLayer as a1, type RasterLayerBase as a2, type RasterMask as a3, type RasterNode as a4, type RasterPixelLayer as a5, type ResampleOptions as a6, STROKE_CHAMFER_MAX as a7, type SatinEffect as a8, type StrokeEffect as a9, gradientT as aA, hasActiveEffects as aB, hashNoise as aC, insertLayer as aD, isBitDepth as aE, isInterpolation as aF, isLayerEffectKind as aG, isLayerLocked as aH, keepDeepSamples as aI, keysWeight as aJ, layerEffectFields as aK, layerEffectLabel as aL, mapLayer as aM, mergeLayerEffect as aN, newEffectId as aO, normalizeLayerEffects as aP, parseEffectColor as aQ, patchEffectMaps as aR, proxyOf as aS, readDeepRegion as aT, reduceSurface as aU, renderLayerEffects as aV, scaleLayerEffect as aW, srgbDecode as aX, srgbEncode as aY, surfaceDepth as aZ, surfaceFromDeepPixels as a_, type StrokePosition as aa, TransformTooLargeError as ab, activeEffectItems as ac, blendTile as ad, buildEffectMaps as ae, builtinPattern as af, builtinPatternIds as ag, changedTiles as ah, compositeLayerEffects as ai, compositeSurfaceOver as aj, contourLut as ak, convertSurfaceDepth as al, deepBytes as am, deepTile as an, defaultEffectGradient as ao, defaultLayerEffect as ap, depthOf as aq, effectColorHex as ar, effectFillColors as as, effectReach as at, effectsAreLocal as au, effectsFingerprint as av, effectsMargin as aw, effectsScale as ax, findLayer as ay, flattenLayers as az, type CompositorProfile as b, tileSamples16 as b0, tileSamples32 as b1, to16From32 as b2, to16From8 as b3, to32From16 as b4, to32From8 as b5, to8From16 as b6, to8From32 as b7, transformSurface as b8, transformedBounds as b9, validateEffectGradient as ba, validateLayerEffect as bb, validateLayerEffects as bc, warpSurface as bd, writeDeepRegion as be, type BevelContour as c, type BevelEmbossEffect as d, type BevelStyle as e, type BevelTechnique as f, type BevelTexture as g, type BitDepth as h, type ColorOverlayEffect as i, type CompositeCallOptions as j, type CompositeStats as k, type CompositorOptions as l, type ContourPoint as m, type DeepSamples as n, type DropShadowEffect as o, type EffectContext as p, type EffectContour as q, type EffectFill as r, type EffectGradient as s, type EffectMaps as t, type EffectPattern as u, type EffectPatternRef as v, type EffectRect as w, type GlowTechnique as x, type GradientColorStop as y, type GradientOpacityStop as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a2 as RasterLayerBase, a3 as RasterMask$1, a5 as RasterPixelLayer, H as GroupBlendMode, r as EffectFill, G as GlobalLight, u as EffectPattern, M as Interpolation, T as LayerLocation$1, U as LayerLocks, O as LayerEffect, S as LayerEffects, R as RasterSources, a as RasterCompositor, l as CompositorOptions, Q as LayerEffectKind, p as EffectContext, h as BitDepth } from './
|
|
1
|
+
import { a2 as RasterLayerBase, a3 as RasterMask$1, a5 as RasterPixelLayer, H as GroupBlendMode, r as EffectFill, G as GlobalLight, u as EffectPattern, M as Interpolation, T as LayerLocation$1, U as LayerLocks, O as LayerEffect, S as LayerEffects, R as RasterSources, a as RasterCompositor, l as CompositorOptions, Q as LayerEffectKind, p as EffectContext, h as BitDepth } from './deep-DLwKZDFr.js';
|
|
2
2
|
import { c as PixelSurface, a as BlendMode, j as TiledSurface, R as RasterRect } from './surface-Cn30xIV6.js';
|
|
3
3
|
import { b as BuiltinProfileId, j as Intent, P as Profile, T as Transform, d as ColorSpace } from './builtin-CY97ppKM.js';
|
|
4
4
|
import { A as AffineMatrix, Q as Quad, a as WarpMesh, V as Vec2$1, H as Homography } from './types-CwMPoRMU.js';
|
|
@@ -1126,14 +1126,21 @@ declare function adjustmentNodeAsLayer(node: AdjustmentLayerNode): AdjustmentLay
|
|
|
1126
1126
|
declare function depthMaskAlpha(depth: number, options: DepthMaskOptions): number;
|
|
1127
1127
|
/** Runs layer filters (develop, blur) over RGBA `data` (`width × height`) in place, bottom first. */
|
|
1128
1128
|
declare function runLayerFilters(data: Uint8ClampedArray, width: number, height: number, filters: readonly LayerFilter[]): void;
|
|
1129
|
+
/**
|
|
1130
|
+
* `runLayerFilters` on float RGBA for high bit depth (sRGB-encoded 0..1, or linear light when
|
|
1131
|
+
* `linear`). Develop filters on the current process and blurs keep full precision; a develop
|
|
1132
|
+
* filter on a legacy process runs on the 8-bit rendering.
|
|
1133
|
+
*/
|
|
1134
|
+
declare function runLayerFiltersFloat(data: Float32Array, width: number, height: number, filters: readonly LayerFilter[], linear: boolean): void;
|
|
1129
1135
|
/** The per-tile compositor for image editor layer stacks (see the raster module for the caches). */
|
|
1130
1136
|
declare class LayerCompositor extends RasterCompositor<ImageLayer, CompositorSources> {
|
|
1131
1137
|
constructor(options?: CompositorOptions);
|
|
1132
1138
|
}
|
|
1133
1139
|
/**
|
|
1134
1140
|
* The composite of an image editor stack at 16 or 32 bits (see `raster/deep-compositor`): float
|
|
1135
|
-
* RGBA over `rect`, sRGB-encoded 0..1 at 16 bits, linear light at 32. Adjustment layers
|
|
1136
|
-
*
|
|
1141
|
+
* RGBA over `rect`, sRGB-encoded 0..1 at 16 bits, linear light at 32. Adjustment layers, layer
|
|
1142
|
+
* filters and layer effects run in float; groups with effects, legacy-process develop filters and
|
|
1143
|
+
* annotation layers are drawn at 8 bits.
|
|
1137
1144
|
*/
|
|
1138
1145
|
declare function compositeDeep(layers: readonly ImageLayer[], rect: RasterRect, sources: CompositorSources, depth: 16 | 32): Float32Array;
|
|
1139
1146
|
|
|
@@ -4300,4 +4307,4 @@ interface PsdExportResult {
|
|
|
4300
4307
|
/** Writes the prepared stack as PSD (or PSB) bytes. */
|
|
4301
4308
|
declare function exportPsd(input: PsdExportInput): PsdExportResult;
|
|
4302
4309
|
|
|
4303
|
-
export { type AdjustmentLayerBase as $, type AdjustmentKind as A, LayerCompositor as B, type CurvePoint as C, type DepthMaskOptions as D, type SmartFilterStack as E, type SmartFilter as F, type SmartObjectLayer as G, type HueRange as H, type ImageEditorAssetStore as I, type SmartContents as J, type SmartDocument as K, type LevelsChannel as L, type SmartPlacement as M, type FreeTransformGeometry as N, type LiveShapeKind as O, type PsdExportResult as P, type TypeLayerInfo as Q, type RefineEdgeParams as R, type SerializedLayer as S, type TextEnv as T, type LayerPlacement as U, type FreeTransformMode as V, type FreeTransformResult as W, FreeTransformSession as X, type FreeTransformInit as Y, type TransformAnchor as Z, type AIResultOptions as _, type ImageAdjustments as a, type LayerProperties as a$, type AdjustmentLayerInit as a0, type AdjustmentLayerUpdate as a1, type AnnotationPlacement as a2, type AnnotationType as a3, type ArrowAnnotation as a4, type AspectRatio as a5, type BaseAnnotation as a6, type BlackWhiteParams as a7, type BlurFilter as a8, type CircleAnnotation as a9, GUIDED_FILTER_EPS as aA, type GroupLayer as aB, HISTOGRAM_BINS as aC, type HistogramChannel as aD, type HistoryEntryHandle as aE, type HueSaturationParams as aF, IMAGE_EDITOR_SCHEMA_VERSION as aG, type ImageAnnotation as aH, type ImageDimensions as aI, type ImageEditorAIHooks as aJ, type ImageEditorFit as aK, type ImageEditorOptions as aL, ImageEditorRenderer as aM, type ImageEditorState as aN, type ImageEditorTool as aO, type ImageLayerType as aP, type InpaintHook as aQ, type InpaintOptions as aR, type InvertParams as aS, LAYERED_SCHEMA_VERSION as aT, LIVE_SHAPE_KINDS as aU, type LayerBase as aV, type LayerBlendMode as aW, type LayerFilterKind as aX, type LayerLocation as aY, type LayerMaskProps as aZ, LayerOperationError as a_, type CloneSource as aa, type ColorBalanceParams as ab, type ColorBalanceTone as ac, type ColorRangeOptions as ad, type ColorRangeSample as ae, type CreateAnnotationPayload as af, type CropHandle as ag, type CurvesParams as ah, DEFAULT_ADJUSTMENTS as ai, DEFAULT_DEPTH_MASK as aj, DEFAULT_MITER_LIMIT as ak, DEFAULT_PROOF as al, DEFAULT_REFINE_EDGE_PARAMS as am, DEFAULT_TRANSFORM as an, type DeserializeContext as ao, type DevelopSettings as ap, type DocumentColorMode as aq, type DocumentColorProfile as ar, EMPTY_DISTANCE as as, type ExportOptions as at, FREE_TRANSFORM_CONTENTS as au, FREE_TRANSFORM_MODES as av, type FillOptions as aw, type FreeTransformContent as ax, type FreeTransformHost as ay, type FreeTransformPreview as az, type SerializedImageEditorState as b, type SerializedSmartContents as b$, type LayerSourcesHost as b0, type LayerTarget as b1, type LegacySerializedImageEditorState as b2, type LevelsParams as b3, type LineAnnotation as b4, type LiveShape as b5, type MagicWandOptions as b6, type MixerStrokeInit as b7, PARAGRAPH_STYLE_FIELDS as b8, PSD_BLEND_KEYS as b9, type RemoveBackgroundHook as bA, type RemoveBackgroundOptions as bB, type RenderOptions as bC, type RetouchStrokeInit as bD, type RetouchTool as bE, SELECTION_MODES as bF, SELECTION_MODIFY_OPS as bG, SHAPE_OPERATIONS as bH, SHAPE_RENDER_MARGIN as bI, type SampleOptions as bJ, type SelectionChannel as bK, type SelectionCommandOptions as bL, type SelectionModifyOp as bM, type SerializeContext as bN, type SerializedAdjustmentLayer as bO, type SerializedAnnotationLayer as bP, type SerializedColorMode as bQ, type SerializedColorProfile as bR, type SerializedDeepPixels as bS, type SerializedGroupLayer as bT, type SerializedLayerEffects as bU, type SerializedLayeredImageEditorState as bV, type SerializedPattern as bW, type SerializedPixelLayer as bX, type SerializedRasterMask as bY, type SerializedSelection as bZ, type SerializedShapeLayer as b_, type PaintOptions as ba, type PaintStrokeResult as bb, PaintStrokeSession as bc, type PenAnnotation as bd, type PhotoFilterParams as be, type PixelBuffer as bf, type PixelLayerInit as bg, type PixelTransform as bh, type PosterizeParams as bi, type ProofSetup as bj, type PsdChannel as bk, type PsdExportInput as bl, type PsdFile as bm, type PsdHeader as bn, type PsdImportOptions as bo, type PsdImportResult as bp, type PsdLayerMask as bq, type PsdLayerRecord as br, type PsdLayerSummary as bs, type PsdRect as bt, type PsdResource as bu, type PsdSmartFilter as bv, type PsdTaggedBlock as bw, type PsdTreeNode as bx, RETOUCH_TOOLS as by, type RectAnnotation as bz, type AdjustmentLayer as c, contractCoverage as c$, type SerializedSmartFilter as c0, type SerializedSmartObjectLayer as c1, type SerializedTypeLayer as c2, type ShapeArrowhead as c3, type ShapeComponent as c4, type ShapeEnv as c5, type ShapeFillRule as c6, type ShapeGeometryInput as c7, type ShapeLayerData as c8, type ShapeLayerInfo as c9, type TypePsdData as cA, type VibranceParams as cB, type ViewportMetrics as cC, addLayerEffect as cD, addLayerFilter as cE, adjustmentNodeAsLayer as cF, anchorPoint as cG, annotationBlend as cH, annotationOfShape as cI, annotationOfType as cJ, applyImageProjectionToContext as cK, applyParams as cL, blurFilter as cM, borderCoverage as cN, boxMean as cO, boxPointOf as cP, buildLayerMaskPlanes as cQ, calculateCropDrag as cR, canvasToImagePoint as cS, clampCropToImage as cT, colorModePlanes as cU, colorRange as cV, combineSelections as cW, componentPath as cX, compositeDeep as cY, computeHistogram as cZ, computeSelectionBounds as c_, type ShapeLayerInit as ca, type ShapeLineCap as cb, type ShapeLineJoin as cc, type ShapeOperation as cd, type ShapePaint as ce, type ShapePsdData as cf, type ShapeSelectionOptions as cg, type ShapeStroke as ch, type ShapeStrokeAlign as ci, type ShapeStrokeInput as cj, type SmartFilterKind as ck, type SmartObjectInfo as cl, type SmartPsdData as cm, type StrokeInit as cn, type StrokeTool as co, TEXT_RENDER_MARGIN as cp, TEXT_STYLE_FIELDS as cq, TONE_RANGE_PRESETS as cr, TRANSFORM_ANCHORS as cs, type TextAnnotation as ct, type TextLayerInit as cu, type ThresholdParams as cv, type ToneRangePreset as cw, type TransformParams as cx, type TransformReadout as cy, type TypeLayerData as cz, type AdjustmentParamsMap as d, isActiveFilter as d$, convertHex as d0, convertSurfaceColors as d1, cornersFromMatrix as d2, coverageToByte as d3, createSelectionMask as d4, createShapeLayer as d5, createTypeLayer as d6, decodeDeepSurface as d7, decodeLayerChannel as d8, decodeLayerMask as d9, expandCoverage as dA, exportPsd as dB, featherCoverage as dC, flipCorners as dD, fullSelection as dE, geometryHomography as dF, getAnnotationBounds as dG, getCropCursor as dH, getRotatedSize as dI, getViewportMetrics as dJ, getViewportProjection as dK, globalImageCache as dL, greyMorphology as dM, groupLayers as dN, guidePlanes as dO, guidedFilterColor as dP, hasSurface as dQ, hasWarp as dR, hashMaskContent as dS, histogramPath as dT, hitTestAnnotation as dU, hitTestCrop as dV, hueRange as dW, identityTransform as dX, imageToCanvasPoint as dY, importPsd as dZ, invertSelection as d_, decodeMergedImage as da, decodePngDataUrl as db, decodeSelectionRle as dc, defaultShapeName as dd, depthMaskAlpha as de, describeTransform as df, deserializeColorMode as dg, deserializeColorProfile as dh, deserializeEffects as di, deserializeLayer as dj, deserializeLayers as dk, deserializePatterns as dl, deserializeSelection as dm, developFilter as dn, displayTransform as dp, distanceTransform as dq, documentProfile as dr, duplicateLayer as ds, edgeWidth as dt, effectiveProof as du, ellipsePoints as dv, ellipseSelection as dw, encodeDeepSurface as dx, encodeSelectionRle as dy, encodeSurface as dz, type AdjustmentLayerMask as e, refineCoverage as e$, isIdentityTransform as e0, isQuarterTurnSwapped as e1, isRenderedLayer as e2, isRetouchTool as e3, isSelectionEmpty as e4, isSelectionMode as e5, isSpatialFilter as e6, isSrgb as e7, isTransformAnchor as e8, isValidWarp as e9, normalizeShapePaint as eA, normalizeShapeStroke as eB, normalizeStoredAdjustments as eC, normalizeSubpaths as eD, normalizeText as eE, offsetLayer as eF, offsetShape as eG, parseBlend as eH, parseColor as eI, parseSelectionMode as eJ, patchParagraphStyle as eK, patchTextStyle as eL, pixelLayerBounds as eM, pixelLayers as eN, placeLayer as eO, polygonCoverage as eP, polygonSelection as eQ, presetWarp as eR, previewStep as eS, profileBytes as eT, projectImagePoint as eU, projectImageRect as eV, projectMaskCoverage as eW, psdToLayers as eX, readPsd as eY, rectSelection as eZ, referencePoint as e_, layerEffectsOf as ea, layerMaskCoverage as eb, layerMaskFromSelection as ec, layerMaskKey as ed, layerName as ee, layerTree as ef, layerTypeLabel as eg, liveComponent as eh, liveShapeSubpaths as ei, magicWand as ej, mapCropHandle as ek, mapSubpaths as el, matrixFromCorners as em, matrixFromParams as en, mergeShapeComponents as eo, migrateSerializedImageEditorState as ep, migrateToLayeredState as eq, modifySelection as er, moveLayer as es, newLayerId as et, normalizeAngle as eu, normalizeFilter as ev, normalizeLayerMask as ew, normalizeLiveShape as ex, normalizeRect as ey, normalizeRefineEdgeParams as ez, type AdjustmentLayerOf as f, typeFrame as f$, refineEdgeHalo as f0, refineSelection as f1, removeLayer as f2, removeLayerEffect as f3, removeLayerFilter as f4, renderShape as f5, renderShapeRect as f6, renderText as f7, replaceTextRange as f8, requireLayer as f9, setLayerEffects as fA, setLayerEffectsEnabled as fB, setLayerMask as fC, setLayerProperties as fD, shapeAsPixelLayer as fE, shapeFromAnnotation as fF, shapeGeometryBounds as fG, shapeLayers as fH, shapeOutline as fI, shapeRenderClip as fJ, shiftCoverage as fK, smartObjectLayers as fL, smoothCoverage as fM, srgb8ToLab as fN, textMatrix as fO, textOutlines as fP, textRange as fQ, toHex as fR, toTextSpace as fS, toneRange as fT, transformHomography as fU, transformMap as fV, transformShapeComponents as fW, transformTypeLayer as fX, transformedBox as fY, transformedPoint as fZ, typeAsPixelLayer as f_, requireOperation as fa, requireShapeLayer as fb, requireTypeLayer as fc, requireUnlocked as fd, rerenderShape as fe, rerenderText as ff, resizePixels as fg, resizeSelection as fh, resolveExternalAssets as fi, resolveProfile as fj, runLayerFilters as fk, selectionArea as fl, selectionFromCoverage as fm, selectionFromPixels as fn, selectionToCoverage as fo, selectionToPixels as fp, selectionValueAt as fq, serializeColorMode as fr, serializeColorProfile as fs, serializeContents as ft, serializeEffects as fu, serializeLayer as fv, serializeLayers as fw, serializeLayersExternal as fx, serializePatterns as fy, serializeSelection as fz, ImageEditorController as g, typeFromAnnotation as g0, typeLayerName as g1, ungroupLayer as g2, unionRect as g3, unprojectCanvasPoint as g4, updateLayerEffect as g5, updateLayerFilter as g6, updateLayerMaskProps as g7, updateShapeLayer as g8, updateTypeLayer as g9, withNewIds as ga, writePsd as gb, type SelectionMask as h, type SelectionMode as i, type ColorDistance as j, type ImagePoint as k, type ImageLayer as l, type CropBox as m, type RasterMask as n, type Annotation as o, type AdjustmentLayerNode as p, type AnnotationLayer as q, type ShapeLayer as r, type TypeLayer as s, type LayerFilter as t, type PixelLayer as u, type DevelopFilter as v, type ImageTransform as w, type ImageHistogram as x, type ImageProjection as y, type CompositorSources as z };
|
|
4310
|
+
export { type AdjustmentLayerBase as $, type AdjustmentKind as A, LayerCompositor as B, type CurvePoint as C, type DepthMaskOptions as D, type SmartFilterStack as E, type SmartFilter as F, type SmartObjectLayer as G, type HueRange as H, type ImageEditorAssetStore as I, type SmartContents as J, type SmartDocument as K, type LevelsChannel as L, type SmartPlacement as M, type FreeTransformGeometry as N, type LiveShapeKind as O, type PsdExportResult as P, type TypeLayerInfo as Q, type RefineEdgeParams as R, type SerializedLayer as S, type TextEnv as T, type LayerPlacement as U, type FreeTransformMode as V, type FreeTransformResult as W, FreeTransformSession as X, type FreeTransformInit as Y, type TransformAnchor as Z, type AIResultOptions as _, type ImageAdjustments as a, type LayerProperties as a$, type AdjustmentLayerInit as a0, type AdjustmentLayerUpdate as a1, type AnnotationPlacement as a2, type AnnotationType as a3, type ArrowAnnotation as a4, type AspectRatio as a5, type BaseAnnotation as a6, type BlackWhiteParams as a7, type BlurFilter as a8, type CircleAnnotation as a9, GUIDED_FILTER_EPS as aA, type GroupLayer as aB, HISTOGRAM_BINS as aC, type HistogramChannel as aD, type HistoryEntryHandle as aE, type HueSaturationParams as aF, IMAGE_EDITOR_SCHEMA_VERSION as aG, type ImageAnnotation as aH, type ImageDimensions as aI, type ImageEditorAIHooks as aJ, type ImageEditorFit as aK, type ImageEditorOptions as aL, ImageEditorRenderer as aM, type ImageEditorState as aN, type ImageEditorTool as aO, type ImageLayerType as aP, type InpaintHook as aQ, type InpaintOptions as aR, type InvertParams as aS, LAYERED_SCHEMA_VERSION as aT, LIVE_SHAPE_KINDS as aU, type LayerBase as aV, type LayerBlendMode as aW, type LayerFilterKind as aX, type LayerLocation as aY, type LayerMaskProps as aZ, LayerOperationError as a_, type CloneSource as aa, type ColorBalanceParams as ab, type ColorBalanceTone as ac, type ColorRangeOptions as ad, type ColorRangeSample as ae, type CreateAnnotationPayload as af, type CropHandle as ag, type CurvesParams as ah, DEFAULT_ADJUSTMENTS as ai, DEFAULT_DEPTH_MASK as aj, DEFAULT_MITER_LIMIT as ak, DEFAULT_PROOF as al, DEFAULT_REFINE_EDGE_PARAMS as am, DEFAULT_TRANSFORM as an, type DeserializeContext as ao, type DevelopSettings as ap, type DocumentColorMode as aq, type DocumentColorProfile as ar, EMPTY_DISTANCE as as, type ExportOptions as at, FREE_TRANSFORM_CONTENTS as au, FREE_TRANSFORM_MODES as av, type FillOptions as aw, type FreeTransformContent as ax, type FreeTransformHost as ay, type FreeTransformPreview as az, type SerializedImageEditorState as b, type SerializedSmartContents as b$, type LayerSourcesHost as b0, type LayerTarget as b1, type LegacySerializedImageEditorState as b2, type LevelsParams as b3, type LineAnnotation as b4, type LiveShape as b5, type MagicWandOptions as b6, type MixerStrokeInit as b7, PARAGRAPH_STYLE_FIELDS as b8, PSD_BLEND_KEYS as b9, type RemoveBackgroundHook as bA, type RemoveBackgroundOptions as bB, type RenderOptions as bC, type RetouchStrokeInit as bD, type RetouchTool as bE, SELECTION_MODES as bF, SELECTION_MODIFY_OPS as bG, SHAPE_OPERATIONS as bH, SHAPE_RENDER_MARGIN as bI, type SampleOptions as bJ, type SelectionChannel as bK, type SelectionCommandOptions as bL, type SelectionModifyOp as bM, type SerializeContext as bN, type SerializedAdjustmentLayer as bO, type SerializedAnnotationLayer as bP, type SerializedColorMode as bQ, type SerializedColorProfile as bR, type SerializedDeepPixels as bS, type SerializedGroupLayer as bT, type SerializedLayerEffects as bU, type SerializedLayeredImageEditorState as bV, type SerializedPattern as bW, type SerializedPixelLayer as bX, type SerializedRasterMask as bY, type SerializedSelection as bZ, type SerializedShapeLayer as b_, type PaintOptions as ba, type PaintStrokeResult as bb, PaintStrokeSession as bc, type PenAnnotation as bd, type PhotoFilterParams as be, type PixelBuffer as bf, type PixelLayerInit as bg, type PixelTransform as bh, type PosterizeParams as bi, type ProofSetup as bj, type PsdChannel as bk, type PsdExportInput as bl, type PsdFile as bm, type PsdHeader as bn, type PsdImportOptions as bo, type PsdImportResult as bp, type PsdLayerMask as bq, type PsdLayerRecord as br, type PsdLayerSummary as bs, type PsdRect as bt, type PsdResource as bu, type PsdSmartFilter as bv, type PsdTaggedBlock as bw, type PsdTreeNode as bx, RETOUCH_TOOLS as by, type RectAnnotation as bz, type AdjustmentLayer as c, contractCoverage as c$, type SerializedSmartFilter as c0, type SerializedSmartObjectLayer as c1, type SerializedTypeLayer as c2, type ShapeArrowhead as c3, type ShapeComponent as c4, type ShapeEnv as c5, type ShapeFillRule as c6, type ShapeGeometryInput as c7, type ShapeLayerData as c8, type ShapeLayerInfo as c9, type TypePsdData as cA, type VibranceParams as cB, type ViewportMetrics as cC, addLayerEffect as cD, addLayerFilter as cE, adjustmentNodeAsLayer as cF, anchorPoint as cG, annotationBlend as cH, annotationOfShape as cI, annotationOfType as cJ, applyImageProjectionToContext as cK, applyParams as cL, blurFilter as cM, borderCoverage as cN, boxMean as cO, boxPointOf as cP, buildLayerMaskPlanes as cQ, calculateCropDrag as cR, canvasToImagePoint as cS, clampCropToImage as cT, colorModePlanes as cU, colorRange as cV, combineSelections as cW, componentPath as cX, compositeDeep as cY, computeHistogram as cZ, computeSelectionBounds as c_, type ShapeLayerInit as ca, type ShapeLineCap as cb, type ShapeLineJoin as cc, type ShapeOperation as cd, type ShapePaint as ce, type ShapePsdData as cf, type ShapeSelectionOptions as cg, type ShapeStroke as ch, type ShapeStrokeAlign as ci, type ShapeStrokeInput as cj, type SmartFilterKind as ck, type SmartObjectInfo as cl, type SmartPsdData as cm, type StrokeInit as cn, type StrokeTool as co, TEXT_RENDER_MARGIN as cp, TEXT_STYLE_FIELDS as cq, TONE_RANGE_PRESETS as cr, TRANSFORM_ANCHORS as cs, type TextAnnotation as ct, type TextLayerInit as cu, type ThresholdParams as cv, type ToneRangePreset as cw, type TransformParams as cx, type TransformReadout as cy, type TypeLayerData as cz, type AdjustmentParamsMap as d, isActiveFilter as d$, convertHex as d0, convertSurfaceColors as d1, cornersFromMatrix as d2, coverageToByte as d3, createSelectionMask as d4, createShapeLayer as d5, createTypeLayer as d6, decodeDeepSurface as d7, decodeLayerChannel as d8, decodeLayerMask as d9, expandCoverage as dA, exportPsd as dB, featherCoverage as dC, flipCorners as dD, fullSelection as dE, geometryHomography as dF, getAnnotationBounds as dG, getCropCursor as dH, getRotatedSize as dI, getViewportMetrics as dJ, getViewportProjection as dK, globalImageCache as dL, greyMorphology as dM, groupLayers as dN, guidePlanes as dO, guidedFilterColor as dP, hasSurface as dQ, hasWarp as dR, hashMaskContent as dS, histogramPath as dT, hitTestAnnotation as dU, hitTestCrop as dV, hueRange as dW, identityTransform as dX, imageToCanvasPoint as dY, importPsd as dZ, invertSelection as d_, decodeMergedImage as da, decodePngDataUrl as db, decodeSelectionRle as dc, defaultShapeName as dd, depthMaskAlpha as de, describeTransform as df, deserializeColorMode as dg, deserializeColorProfile as dh, deserializeEffects as di, deserializeLayer as dj, deserializeLayers as dk, deserializePatterns as dl, deserializeSelection as dm, developFilter as dn, displayTransform as dp, distanceTransform as dq, documentProfile as dr, duplicateLayer as ds, edgeWidth as dt, effectiveProof as du, ellipsePoints as dv, ellipseSelection as dw, encodeDeepSurface as dx, encodeSelectionRle as dy, encodeSurface as dz, type AdjustmentLayerMask as e, refineCoverage as e$, isIdentityTransform as e0, isQuarterTurnSwapped as e1, isRenderedLayer as e2, isRetouchTool as e3, isSelectionEmpty as e4, isSelectionMode as e5, isSpatialFilter as e6, isSrgb as e7, isTransformAnchor as e8, isValidWarp as e9, normalizeShapePaint as eA, normalizeShapeStroke as eB, normalizeStoredAdjustments as eC, normalizeSubpaths as eD, normalizeText as eE, offsetLayer as eF, offsetShape as eG, parseBlend as eH, parseColor as eI, parseSelectionMode as eJ, patchParagraphStyle as eK, patchTextStyle as eL, pixelLayerBounds as eM, pixelLayers as eN, placeLayer as eO, polygonCoverage as eP, polygonSelection as eQ, presetWarp as eR, previewStep as eS, profileBytes as eT, projectImagePoint as eU, projectImageRect as eV, projectMaskCoverage as eW, psdToLayers as eX, readPsd as eY, rectSelection as eZ, referencePoint as e_, layerEffectsOf as ea, layerMaskCoverage as eb, layerMaskFromSelection as ec, layerMaskKey as ed, layerName as ee, layerTree as ef, layerTypeLabel as eg, liveComponent as eh, liveShapeSubpaths as ei, magicWand as ej, mapCropHandle as ek, mapSubpaths as el, matrixFromCorners as em, matrixFromParams as en, mergeShapeComponents as eo, migrateSerializedImageEditorState as ep, migrateToLayeredState as eq, modifySelection as er, moveLayer as es, newLayerId as et, normalizeAngle as eu, normalizeFilter as ev, normalizeLayerMask as ew, normalizeLiveShape as ex, normalizeRect as ey, normalizeRefineEdgeParams as ez, type AdjustmentLayerOf as f, typeAsPixelLayer as f$, refineEdgeHalo as f0, refineSelection as f1, removeLayer as f2, removeLayerEffect as f3, removeLayerFilter as f4, renderShape as f5, renderShapeRect as f6, renderText as f7, replaceTextRange as f8, requireLayer as f9, serializeSelection as fA, setLayerEffects as fB, setLayerEffectsEnabled as fC, setLayerMask as fD, setLayerProperties as fE, shapeAsPixelLayer as fF, shapeFromAnnotation as fG, shapeGeometryBounds as fH, shapeLayers as fI, shapeOutline as fJ, shapeRenderClip as fK, shiftCoverage as fL, smartObjectLayers as fM, smoothCoverage as fN, srgb8ToLab as fO, textMatrix as fP, textOutlines as fQ, textRange as fR, toHex as fS, toTextSpace as fT, toneRange as fU, transformHomography as fV, transformMap as fW, transformShapeComponents as fX, transformTypeLayer as fY, transformedBox as fZ, transformedPoint as f_, requireOperation as fa, requireShapeLayer as fb, requireTypeLayer as fc, requireUnlocked as fd, rerenderShape as fe, rerenderText as ff, resizePixels as fg, resizeSelection as fh, resolveExternalAssets as fi, resolveProfile as fj, runLayerFilters as fk, runLayerFiltersFloat as fl, selectionArea as fm, selectionFromCoverage as fn, selectionFromPixels as fo, selectionToCoverage as fp, selectionToPixels as fq, selectionValueAt as fr, serializeColorMode as fs, serializeColorProfile as ft, serializeContents as fu, serializeEffects as fv, serializeLayer as fw, serializeLayers as fx, serializeLayersExternal as fy, serializePatterns as fz, ImageEditorController as g, typeFrame as g0, typeFromAnnotation as g1, typeLayerName as g2, ungroupLayer as g3, unionRect as g4, unprojectCanvasPoint as g5, updateLayerEffect as g6, updateLayerFilter as g7, updateLayerMaskProps as g8, updateShapeLayer as g9, updateTypeLayer as ga, withNewIds as gb, writePsd as gc, type SelectionMask as h, type SelectionMode as i, type ColorDistance as j, type ImagePoint as k, type ImageLayer as l, type CropBox as m, type RasterMask as n, type Annotation as o, type AdjustmentLayerNode as p, type AnnotationLayer as q, type ShapeLayer as r, type TypeLayer as s, type LayerFilter as t, type PixelLayer as u, type DevelopFilter as v, type ImageTransform as w, type ImageHistogram as x, type ImageProjection as y, type CompositorSources as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a2 as RasterLayerBase, a3 as RasterMask$1, a5 as RasterPixelLayer, H as GroupBlendMode, r as EffectFill, G as GlobalLight, u as EffectPattern, M as Interpolation, T as LayerLocation$1, U as LayerLocks, O as LayerEffect, S as LayerEffects, R as RasterSources, a as RasterCompositor, l as CompositorOptions, Q as LayerEffectKind, p as EffectContext, h as BitDepth } from './
|
|
1
|
+
import { a2 as RasterLayerBase, a3 as RasterMask$1, a5 as RasterPixelLayer, H as GroupBlendMode, r as EffectFill, G as GlobalLight, u as EffectPattern, M as Interpolation, T as LayerLocation$1, U as LayerLocks, O as LayerEffect, S as LayerEffects, R as RasterSources, a as RasterCompositor, l as CompositorOptions, Q as LayerEffectKind, p as EffectContext, h as BitDepth } from './deep-QS3ppbMX.cjs';
|
|
2
2
|
import { c as PixelSurface, a as BlendMode, j as TiledSurface, R as RasterRect } from './surface-Cn30xIV6.cjs';
|
|
3
3
|
import { b as BuiltinProfileId, j as Intent, P as Profile, T as Transform, d as ColorSpace } from './builtin-CY97ppKM.cjs';
|
|
4
4
|
import { A as AffineMatrix, Q as Quad, a as WarpMesh, V as Vec2$1, H as Homography } from './types-CwMPoRMU.cjs';
|
|
@@ -1126,14 +1126,21 @@ declare function adjustmentNodeAsLayer(node: AdjustmentLayerNode): AdjustmentLay
|
|
|
1126
1126
|
declare function depthMaskAlpha(depth: number, options: DepthMaskOptions): number;
|
|
1127
1127
|
/** Runs layer filters (develop, blur) over RGBA `data` (`width × height`) in place, bottom first. */
|
|
1128
1128
|
declare function runLayerFilters(data: Uint8ClampedArray, width: number, height: number, filters: readonly LayerFilter[]): void;
|
|
1129
|
+
/**
|
|
1130
|
+
* `runLayerFilters` on float RGBA for high bit depth (sRGB-encoded 0..1, or linear light when
|
|
1131
|
+
* `linear`). Develop filters on the current process and blurs keep full precision; a develop
|
|
1132
|
+
* filter on a legacy process runs on the 8-bit rendering.
|
|
1133
|
+
*/
|
|
1134
|
+
declare function runLayerFiltersFloat(data: Float32Array, width: number, height: number, filters: readonly LayerFilter[], linear: boolean): void;
|
|
1129
1135
|
/** The per-tile compositor for image editor layer stacks (see the raster module for the caches). */
|
|
1130
1136
|
declare class LayerCompositor extends RasterCompositor<ImageLayer, CompositorSources> {
|
|
1131
1137
|
constructor(options?: CompositorOptions);
|
|
1132
1138
|
}
|
|
1133
1139
|
/**
|
|
1134
1140
|
* The composite of an image editor stack at 16 or 32 bits (see `raster/deep-compositor`): float
|
|
1135
|
-
* RGBA over `rect`, sRGB-encoded 0..1 at 16 bits, linear light at 32. Adjustment layers
|
|
1136
|
-
*
|
|
1141
|
+
* RGBA over `rect`, sRGB-encoded 0..1 at 16 bits, linear light at 32. Adjustment layers, layer
|
|
1142
|
+
* filters and layer effects run in float; groups with effects, legacy-process develop filters and
|
|
1143
|
+
* annotation layers are drawn at 8 bits.
|
|
1137
1144
|
*/
|
|
1138
1145
|
declare function compositeDeep(layers: readonly ImageLayer[], rect: RasterRect, sources: CompositorSources, depth: 16 | 32): Float32Array;
|
|
1139
1146
|
|
|
@@ -4300,4 +4307,4 @@ interface PsdExportResult {
|
|
|
4300
4307
|
/** Writes the prepared stack as PSD (or PSB) bytes. */
|
|
4301
4308
|
declare function exportPsd(input: PsdExportInput): PsdExportResult;
|
|
4302
4309
|
|
|
4303
|
-
export { type AdjustmentLayerBase as $, type AdjustmentKind as A, LayerCompositor as B, type CurvePoint as C, type DepthMaskOptions as D, type SmartFilterStack as E, type SmartFilter as F, type SmartObjectLayer as G, type HueRange as H, type ImageEditorAssetStore as I, type SmartContents as J, type SmartDocument as K, type LevelsChannel as L, type SmartPlacement as M, type FreeTransformGeometry as N, type LiveShapeKind as O, type PsdExportResult as P, type TypeLayerInfo as Q, type RefineEdgeParams as R, type SerializedLayer as S, type TextEnv as T, type LayerPlacement as U, type FreeTransformMode as V, type FreeTransformResult as W, FreeTransformSession as X, type FreeTransformInit as Y, type TransformAnchor as Z, type AIResultOptions as _, type ImageAdjustments as a, type LayerProperties as a$, type AdjustmentLayerInit as a0, type AdjustmentLayerUpdate as a1, type AnnotationPlacement as a2, type AnnotationType as a3, type ArrowAnnotation as a4, type AspectRatio as a5, type BaseAnnotation as a6, type BlackWhiteParams as a7, type BlurFilter as a8, type CircleAnnotation as a9, GUIDED_FILTER_EPS as aA, type GroupLayer as aB, HISTOGRAM_BINS as aC, type HistogramChannel as aD, type HistoryEntryHandle as aE, type HueSaturationParams as aF, IMAGE_EDITOR_SCHEMA_VERSION as aG, type ImageAnnotation as aH, type ImageDimensions as aI, type ImageEditorAIHooks as aJ, type ImageEditorFit as aK, type ImageEditorOptions as aL, ImageEditorRenderer as aM, type ImageEditorState as aN, type ImageEditorTool as aO, type ImageLayerType as aP, type InpaintHook as aQ, type InpaintOptions as aR, type InvertParams as aS, LAYERED_SCHEMA_VERSION as aT, LIVE_SHAPE_KINDS as aU, type LayerBase as aV, type LayerBlendMode as aW, type LayerFilterKind as aX, type LayerLocation as aY, type LayerMaskProps as aZ, LayerOperationError as a_, type CloneSource as aa, type ColorBalanceParams as ab, type ColorBalanceTone as ac, type ColorRangeOptions as ad, type ColorRangeSample as ae, type CreateAnnotationPayload as af, type CropHandle as ag, type CurvesParams as ah, DEFAULT_ADJUSTMENTS as ai, DEFAULT_DEPTH_MASK as aj, DEFAULT_MITER_LIMIT as ak, DEFAULT_PROOF as al, DEFAULT_REFINE_EDGE_PARAMS as am, DEFAULT_TRANSFORM as an, type DeserializeContext as ao, type DevelopSettings as ap, type DocumentColorMode as aq, type DocumentColorProfile as ar, EMPTY_DISTANCE as as, type ExportOptions as at, FREE_TRANSFORM_CONTENTS as au, FREE_TRANSFORM_MODES as av, type FillOptions as aw, type FreeTransformContent as ax, type FreeTransformHost as ay, type FreeTransformPreview as az, type SerializedImageEditorState as b, type SerializedSmartContents as b$, type LayerSourcesHost as b0, type LayerTarget as b1, type LegacySerializedImageEditorState as b2, type LevelsParams as b3, type LineAnnotation as b4, type LiveShape as b5, type MagicWandOptions as b6, type MixerStrokeInit as b7, PARAGRAPH_STYLE_FIELDS as b8, PSD_BLEND_KEYS as b9, type RemoveBackgroundHook as bA, type RemoveBackgroundOptions as bB, type RenderOptions as bC, type RetouchStrokeInit as bD, type RetouchTool as bE, SELECTION_MODES as bF, SELECTION_MODIFY_OPS as bG, SHAPE_OPERATIONS as bH, SHAPE_RENDER_MARGIN as bI, type SampleOptions as bJ, type SelectionChannel as bK, type SelectionCommandOptions as bL, type SelectionModifyOp as bM, type SerializeContext as bN, type SerializedAdjustmentLayer as bO, type SerializedAnnotationLayer as bP, type SerializedColorMode as bQ, type SerializedColorProfile as bR, type SerializedDeepPixels as bS, type SerializedGroupLayer as bT, type SerializedLayerEffects as bU, type SerializedLayeredImageEditorState as bV, type SerializedPattern as bW, type SerializedPixelLayer as bX, type SerializedRasterMask as bY, type SerializedSelection as bZ, type SerializedShapeLayer as b_, type PaintOptions as ba, type PaintStrokeResult as bb, PaintStrokeSession as bc, type PenAnnotation as bd, type PhotoFilterParams as be, type PixelBuffer as bf, type PixelLayerInit as bg, type PixelTransform as bh, type PosterizeParams as bi, type ProofSetup as bj, type PsdChannel as bk, type PsdExportInput as bl, type PsdFile as bm, type PsdHeader as bn, type PsdImportOptions as bo, type PsdImportResult as bp, type PsdLayerMask as bq, type PsdLayerRecord as br, type PsdLayerSummary as bs, type PsdRect as bt, type PsdResource as bu, type PsdSmartFilter as bv, type PsdTaggedBlock as bw, type PsdTreeNode as bx, RETOUCH_TOOLS as by, type RectAnnotation as bz, type AdjustmentLayer as c, contractCoverage as c$, type SerializedSmartFilter as c0, type SerializedSmartObjectLayer as c1, type SerializedTypeLayer as c2, type ShapeArrowhead as c3, type ShapeComponent as c4, type ShapeEnv as c5, type ShapeFillRule as c6, type ShapeGeometryInput as c7, type ShapeLayerData as c8, type ShapeLayerInfo as c9, type TypePsdData as cA, type VibranceParams as cB, type ViewportMetrics as cC, addLayerEffect as cD, addLayerFilter as cE, adjustmentNodeAsLayer as cF, anchorPoint as cG, annotationBlend as cH, annotationOfShape as cI, annotationOfType as cJ, applyImageProjectionToContext as cK, applyParams as cL, blurFilter as cM, borderCoverage as cN, boxMean as cO, boxPointOf as cP, buildLayerMaskPlanes as cQ, calculateCropDrag as cR, canvasToImagePoint as cS, clampCropToImage as cT, colorModePlanes as cU, colorRange as cV, combineSelections as cW, componentPath as cX, compositeDeep as cY, computeHistogram as cZ, computeSelectionBounds as c_, type ShapeLayerInit as ca, type ShapeLineCap as cb, type ShapeLineJoin as cc, type ShapeOperation as cd, type ShapePaint as ce, type ShapePsdData as cf, type ShapeSelectionOptions as cg, type ShapeStroke as ch, type ShapeStrokeAlign as ci, type ShapeStrokeInput as cj, type SmartFilterKind as ck, type SmartObjectInfo as cl, type SmartPsdData as cm, type StrokeInit as cn, type StrokeTool as co, TEXT_RENDER_MARGIN as cp, TEXT_STYLE_FIELDS as cq, TONE_RANGE_PRESETS as cr, TRANSFORM_ANCHORS as cs, type TextAnnotation as ct, type TextLayerInit as cu, type ThresholdParams as cv, type ToneRangePreset as cw, type TransformParams as cx, type TransformReadout as cy, type TypeLayerData as cz, type AdjustmentParamsMap as d, isActiveFilter as d$, convertHex as d0, convertSurfaceColors as d1, cornersFromMatrix as d2, coverageToByte as d3, createSelectionMask as d4, createShapeLayer as d5, createTypeLayer as d6, decodeDeepSurface as d7, decodeLayerChannel as d8, decodeLayerMask as d9, expandCoverage as dA, exportPsd as dB, featherCoverage as dC, flipCorners as dD, fullSelection as dE, geometryHomography as dF, getAnnotationBounds as dG, getCropCursor as dH, getRotatedSize as dI, getViewportMetrics as dJ, getViewportProjection as dK, globalImageCache as dL, greyMorphology as dM, groupLayers as dN, guidePlanes as dO, guidedFilterColor as dP, hasSurface as dQ, hasWarp as dR, hashMaskContent as dS, histogramPath as dT, hitTestAnnotation as dU, hitTestCrop as dV, hueRange as dW, identityTransform as dX, imageToCanvasPoint as dY, importPsd as dZ, invertSelection as d_, decodeMergedImage as da, decodePngDataUrl as db, decodeSelectionRle as dc, defaultShapeName as dd, depthMaskAlpha as de, describeTransform as df, deserializeColorMode as dg, deserializeColorProfile as dh, deserializeEffects as di, deserializeLayer as dj, deserializeLayers as dk, deserializePatterns as dl, deserializeSelection as dm, developFilter as dn, displayTransform as dp, distanceTransform as dq, documentProfile as dr, duplicateLayer as ds, edgeWidth as dt, effectiveProof as du, ellipsePoints as dv, ellipseSelection as dw, encodeDeepSurface as dx, encodeSelectionRle as dy, encodeSurface as dz, type AdjustmentLayerMask as e, refineCoverage as e$, isIdentityTransform as e0, isQuarterTurnSwapped as e1, isRenderedLayer as e2, isRetouchTool as e3, isSelectionEmpty as e4, isSelectionMode as e5, isSpatialFilter as e6, isSrgb as e7, isTransformAnchor as e8, isValidWarp as e9, normalizeShapePaint as eA, normalizeShapeStroke as eB, normalizeStoredAdjustments as eC, normalizeSubpaths as eD, normalizeText as eE, offsetLayer as eF, offsetShape as eG, parseBlend as eH, parseColor as eI, parseSelectionMode as eJ, patchParagraphStyle as eK, patchTextStyle as eL, pixelLayerBounds as eM, pixelLayers as eN, placeLayer as eO, polygonCoverage as eP, polygonSelection as eQ, presetWarp as eR, previewStep as eS, profileBytes as eT, projectImagePoint as eU, projectImageRect as eV, projectMaskCoverage as eW, psdToLayers as eX, readPsd as eY, rectSelection as eZ, referencePoint as e_, layerEffectsOf as ea, layerMaskCoverage as eb, layerMaskFromSelection as ec, layerMaskKey as ed, layerName as ee, layerTree as ef, layerTypeLabel as eg, liveComponent as eh, liveShapeSubpaths as ei, magicWand as ej, mapCropHandle as ek, mapSubpaths as el, matrixFromCorners as em, matrixFromParams as en, mergeShapeComponents as eo, migrateSerializedImageEditorState as ep, migrateToLayeredState as eq, modifySelection as er, moveLayer as es, newLayerId as et, normalizeAngle as eu, normalizeFilter as ev, normalizeLayerMask as ew, normalizeLiveShape as ex, normalizeRect as ey, normalizeRefineEdgeParams as ez, type AdjustmentLayerOf as f, typeFrame as f$, refineEdgeHalo as f0, refineSelection as f1, removeLayer as f2, removeLayerEffect as f3, removeLayerFilter as f4, renderShape as f5, renderShapeRect as f6, renderText as f7, replaceTextRange as f8, requireLayer as f9, setLayerEffects as fA, setLayerEffectsEnabled as fB, setLayerMask as fC, setLayerProperties as fD, shapeAsPixelLayer as fE, shapeFromAnnotation as fF, shapeGeometryBounds as fG, shapeLayers as fH, shapeOutline as fI, shapeRenderClip as fJ, shiftCoverage as fK, smartObjectLayers as fL, smoothCoverage as fM, srgb8ToLab as fN, textMatrix as fO, textOutlines as fP, textRange as fQ, toHex as fR, toTextSpace as fS, toneRange as fT, transformHomography as fU, transformMap as fV, transformShapeComponents as fW, transformTypeLayer as fX, transformedBox as fY, transformedPoint as fZ, typeAsPixelLayer as f_, requireOperation as fa, requireShapeLayer as fb, requireTypeLayer as fc, requireUnlocked as fd, rerenderShape as fe, rerenderText as ff, resizePixels as fg, resizeSelection as fh, resolveExternalAssets as fi, resolveProfile as fj, runLayerFilters as fk, selectionArea as fl, selectionFromCoverage as fm, selectionFromPixels as fn, selectionToCoverage as fo, selectionToPixels as fp, selectionValueAt as fq, serializeColorMode as fr, serializeColorProfile as fs, serializeContents as ft, serializeEffects as fu, serializeLayer as fv, serializeLayers as fw, serializeLayersExternal as fx, serializePatterns as fy, serializeSelection as fz, ImageEditorController as g, typeFromAnnotation as g0, typeLayerName as g1, ungroupLayer as g2, unionRect as g3, unprojectCanvasPoint as g4, updateLayerEffect as g5, updateLayerFilter as g6, updateLayerMaskProps as g7, updateShapeLayer as g8, updateTypeLayer as g9, withNewIds as ga, writePsd as gb, type SelectionMask as h, type SelectionMode as i, type ColorDistance as j, type ImagePoint as k, type ImageLayer as l, type CropBox as m, type RasterMask as n, type Annotation as o, type AdjustmentLayerNode as p, type AnnotationLayer as q, type ShapeLayer as r, type TypeLayer as s, type LayerFilter as t, type PixelLayer as u, type DevelopFilter as v, type ImageTransform as w, type ImageHistogram as x, type ImageProjection as y, type CompositorSources as z };
|
|
4310
|
+
export { type AdjustmentLayerBase as $, type AdjustmentKind as A, LayerCompositor as B, type CurvePoint as C, type DepthMaskOptions as D, type SmartFilterStack as E, type SmartFilter as F, type SmartObjectLayer as G, type HueRange as H, type ImageEditorAssetStore as I, type SmartContents as J, type SmartDocument as K, type LevelsChannel as L, type SmartPlacement as M, type FreeTransformGeometry as N, type LiveShapeKind as O, type PsdExportResult as P, type TypeLayerInfo as Q, type RefineEdgeParams as R, type SerializedLayer as S, type TextEnv as T, type LayerPlacement as U, type FreeTransformMode as V, type FreeTransformResult as W, FreeTransformSession as X, type FreeTransformInit as Y, type TransformAnchor as Z, type AIResultOptions as _, type ImageAdjustments as a, type LayerProperties as a$, type AdjustmentLayerInit as a0, type AdjustmentLayerUpdate as a1, type AnnotationPlacement as a2, type AnnotationType as a3, type ArrowAnnotation as a4, type AspectRatio as a5, type BaseAnnotation as a6, type BlackWhiteParams as a7, type BlurFilter as a8, type CircleAnnotation as a9, GUIDED_FILTER_EPS as aA, type GroupLayer as aB, HISTOGRAM_BINS as aC, type HistogramChannel as aD, type HistoryEntryHandle as aE, type HueSaturationParams as aF, IMAGE_EDITOR_SCHEMA_VERSION as aG, type ImageAnnotation as aH, type ImageDimensions as aI, type ImageEditorAIHooks as aJ, type ImageEditorFit as aK, type ImageEditorOptions as aL, ImageEditorRenderer as aM, type ImageEditorState as aN, type ImageEditorTool as aO, type ImageLayerType as aP, type InpaintHook as aQ, type InpaintOptions as aR, type InvertParams as aS, LAYERED_SCHEMA_VERSION as aT, LIVE_SHAPE_KINDS as aU, type LayerBase as aV, type LayerBlendMode as aW, type LayerFilterKind as aX, type LayerLocation as aY, type LayerMaskProps as aZ, LayerOperationError as a_, type CloneSource as aa, type ColorBalanceParams as ab, type ColorBalanceTone as ac, type ColorRangeOptions as ad, type ColorRangeSample as ae, type CreateAnnotationPayload as af, type CropHandle as ag, type CurvesParams as ah, DEFAULT_ADJUSTMENTS as ai, DEFAULT_DEPTH_MASK as aj, DEFAULT_MITER_LIMIT as ak, DEFAULT_PROOF as al, DEFAULT_REFINE_EDGE_PARAMS as am, DEFAULT_TRANSFORM as an, type DeserializeContext as ao, type DevelopSettings as ap, type DocumentColorMode as aq, type DocumentColorProfile as ar, EMPTY_DISTANCE as as, type ExportOptions as at, FREE_TRANSFORM_CONTENTS as au, FREE_TRANSFORM_MODES as av, type FillOptions as aw, type FreeTransformContent as ax, type FreeTransformHost as ay, type FreeTransformPreview as az, type SerializedImageEditorState as b, type SerializedSmartContents as b$, type LayerSourcesHost as b0, type LayerTarget as b1, type LegacySerializedImageEditorState as b2, type LevelsParams as b3, type LineAnnotation as b4, type LiveShape as b5, type MagicWandOptions as b6, type MixerStrokeInit as b7, PARAGRAPH_STYLE_FIELDS as b8, PSD_BLEND_KEYS as b9, type RemoveBackgroundHook as bA, type RemoveBackgroundOptions as bB, type RenderOptions as bC, type RetouchStrokeInit as bD, type RetouchTool as bE, SELECTION_MODES as bF, SELECTION_MODIFY_OPS as bG, SHAPE_OPERATIONS as bH, SHAPE_RENDER_MARGIN as bI, type SampleOptions as bJ, type SelectionChannel as bK, type SelectionCommandOptions as bL, type SelectionModifyOp as bM, type SerializeContext as bN, type SerializedAdjustmentLayer as bO, type SerializedAnnotationLayer as bP, type SerializedColorMode as bQ, type SerializedColorProfile as bR, type SerializedDeepPixels as bS, type SerializedGroupLayer as bT, type SerializedLayerEffects as bU, type SerializedLayeredImageEditorState as bV, type SerializedPattern as bW, type SerializedPixelLayer as bX, type SerializedRasterMask as bY, type SerializedSelection as bZ, type SerializedShapeLayer as b_, type PaintOptions as ba, type PaintStrokeResult as bb, PaintStrokeSession as bc, type PenAnnotation as bd, type PhotoFilterParams as be, type PixelBuffer as bf, type PixelLayerInit as bg, type PixelTransform as bh, type PosterizeParams as bi, type ProofSetup as bj, type PsdChannel as bk, type PsdExportInput as bl, type PsdFile as bm, type PsdHeader as bn, type PsdImportOptions as bo, type PsdImportResult as bp, type PsdLayerMask as bq, type PsdLayerRecord as br, type PsdLayerSummary as bs, type PsdRect as bt, type PsdResource as bu, type PsdSmartFilter as bv, type PsdTaggedBlock as bw, type PsdTreeNode as bx, RETOUCH_TOOLS as by, type RectAnnotation as bz, type AdjustmentLayer as c, contractCoverage as c$, type SerializedSmartFilter as c0, type SerializedSmartObjectLayer as c1, type SerializedTypeLayer as c2, type ShapeArrowhead as c3, type ShapeComponent as c4, type ShapeEnv as c5, type ShapeFillRule as c6, type ShapeGeometryInput as c7, type ShapeLayerData as c8, type ShapeLayerInfo as c9, type TypePsdData as cA, type VibranceParams as cB, type ViewportMetrics as cC, addLayerEffect as cD, addLayerFilter as cE, adjustmentNodeAsLayer as cF, anchorPoint as cG, annotationBlend as cH, annotationOfShape as cI, annotationOfType as cJ, applyImageProjectionToContext as cK, applyParams as cL, blurFilter as cM, borderCoverage as cN, boxMean as cO, boxPointOf as cP, buildLayerMaskPlanes as cQ, calculateCropDrag as cR, canvasToImagePoint as cS, clampCropToImage as cT, colorModePlanes as cU, colorRange as cV, combineSelections as cW, componentPath as cX, compositeDeep as cY, computeHistogram as cZ, computeSelectionBounds as c_, type ShapeLayerInit as ca, type ShapeLineCap as cb, type ShapeLineJoin as cc, type ShapeOperation as cd, type ShapePaint as ce, type ShapePsdData as cf, type ShapeSelectionOptions as cg, type ShapeStroke as ch, type ShapeStrokeAlign as ci, type ShapeStrokeInput as cj, type SmartFilterKind as ck, type SmartObjectInfo as cl, type SmartPsdData as cm, type StrokeInit as cn, type StrokeTool as co, TEXT_RENDER_MARGIN as cp, TEXT_STYLE_FIELDS as cq, TONE_RANGE_PRESETS as cr, TRANSFORM_ANCHORS as cs, type TextAnnotation as ct, type TextLayerInit as cu, type ThresholdParams as cv, type ToneRangePreset as cw, type TransformParams as cx, type TransformReadout as cy, type TypeLayerData as cz, type AdjustmentParamsMap as d, isActiveFilter as d$, convertHex as d0, convertSurfaceColors as d1, cornersFromMatrix as d2, coverageToByte as d3, createSelectionMask as d4, createShapeLayer as d5, createTypeLayer as d6, decodeDeepSurface as d7, decodeLayerChannel as d8, decodeLayerMask as d9, expandCoverage as dA, exportPsd as dB, featherCoverage as dC, flipCorners as dD, fullSelection as dE, geometryHomography as dF, getAnnotationBounds as dG, getCropCursor as dH, getRotatedSize as dI, getViewportMetrics as dJ, getViewportProjection as dK, globalImageCache as dL, greyMorphology as dM, groupLayers as dN, guidePlanes as dO, guidedFilterColor as dP, hasSurface as dQ, hasWarp as dR, hashMaskContent as dS, histogramPath as dT, hitTestAnnotation as dU, hitTestCrop as dV, hueRange as dW, identityTransform as dX, imageToCanvasPoint as dY, importPsd as dZ, invertSelection as d_, decodeMergedImage as da, decodePngDataUrl as db, decodeSelectionRle as dc, defaultShapeName as dd, depthMaskAlpha as de, describeTransform as df, deserializeColorMode as dg, deserializeColorProfile as dh, deserializeEffects as di, deserializeLayer as dj, deserializeLayers as dk, deserializePatterns as dl, deserializeSelection as dm, developFilter as dn, displayTransform as dp, distanceTransform as dq, documentProfile as dr, duplicateLayer as ds, edgeWidth as dt, effectiveProof as du, ellipsePoints as dv, ellipseSelection as dw, encodeDeepSurface as dx, encodeSelectionRle as dy, encodeSurface as dz, type AdjustmentLayerMask as e, refineCoverage as e$, isIdentityTransform as e0, isQuarterTurnSwapped as e1, isRenderedLayer as e2, isRetouchTool as e3, isSelectionEmpty as e4, isSelectionMode as e5, isSpatialFilter as e6, isSrgb as e7, isTransformAnchor as e8, isValidWarp as e9, normalizeShapePaint as eA, normalizeShapeStroke as eB, normalizeStoredAdjustments as eC, normalizeSubpaths as eD, normalizeText as eE, offsetLayer as eF, offsetShape as eG, parseBlend as eH, parseColor as eI, parseSelectionMode as eJ, patchParagraphStyle as eK, patchTextStyle as eL, pixelLayerBounds as eM, pixelLayers as eN, placeLayer as eO, polygonCoverage as eP, polygonSelection as eQ, presetWarp as eR, previewStep as eS, profileBytes as eT, projectImagePoint as eU, projectImageRect as eV, projectMaskCoverage as eW, psdToLayers as eX, readPsd as eY, rectSelection as eZ, referencePoint as e_, layerEffectsOf as ea, layerMaskCoverage as eb, layerMaskFromSelection as ec, layerMaskKey as ed, layerName as ee, layerTree as ef, layerTypeLabel as eg, liveComponent as eh, liveShapeSubpaths as ei, magicWand as ej, mapCropHandle as ek, mapSubpaths as el, matrixFromCorners as em, matrixFromParams as en, mergeShapeComponents as eo, migrateSerializedImageEditorState as ep, migrateToLayeredState as eq, modifySelection as er, moveLayer as es, newLayerId as et, normalizeAngle as eu, normalizeFilter as ev, normalizeLayerMask as ew, normalizeLiveShape as ex, normalizeRect as ey, normalizeRefineEdgeParams as ez, type AdjustmentLayerOf as f, typeAsPixelLayer as f$, refineEdgeHalo as f0, refineSelection as f1, removeLayer as f2, removeLayerEffect as f3, removeLayerFilter as f4, renderShape as f5, renderShapeRect as f6, renderText as f7, replaceTextRange as f8, requireLayer as f9, serializeSelection as fA, setLayerEffects as fB, setLayerEffectsEnabled as fC, setLayerMask as fD, setLayerProperties as fE, shapeAsPixelLayer as fF, shapeFromAnnotation as fG, shapeGeometryBounds as fH, shapeLayers as fI, shapeOutline as fJ, shapeRenderClip as fK, shiftCoverage as fL, smartObjectLayers as fM, smoothCoverage as fN, srgb8ToLab as fO, textMatrix as fP, textOutlines as fQ, textRange as fR, toHex as fS, toTextSpace as fT, toneRange as fU, transformHomography as fV, transformMap as fW, transformShapeComponents as fX, transformTypeLayer as fY, transformedBox as fZ, transformedPoint as f_, requireOperation as fa, requireShapeLayer as fb, requireTypeLayer as fc, requireUnlocked as fd, rerenderShape as fe, rerenderText as ff, resizePixels as fg, resizeSelection as fh, resolveExternalAssets as fi, resolveProfile as fj, runLayerFilters as fk, runLayerFiltersFloat as fl, selectionArea as fm, selectionFromCoverage as fn, selectionFromPixels as fo, selectionToCoverage as fp, selectionToPixels as fq, selectionValueAt as fr, serializeColorMode as fs, serializeColorProfile as ft, serializeContents as fu, serializeEffects as fv, serializeLayer as fw, serializeLayers as fx, serializeLayersExternal as fy, serializePatterns as fz, ImageEditorController as g, typeFrame as g0, typeFromAnnotation as g1, typeLayerName as g2, ungroupLayer as g3, unionRect as g4, unprojectCanvasPoint as g5, updateLayerEffect as g6, updateLayerFilter as g7, updateLayerMaskProps as g8, updateShapeLayer as g9, updateTypeLayer as ga, withNewIds as gb, writePsd as gc, type SelectionMask as h, type SelectionMode as i, type ColorDistance as j, type ImagePoint as k, type ImageLayer as l, type CropBox as m, type RasterMask as n, type Annotation as o, type AdjustmentLayerNode as p, type AnnotationLayer as q, type ShapeLayer as r, type TypeLayer as s, type LayerFilter as t, type PixelLayer as u, type DevelopFilter as v, type ImageTransform as w, type ImageHistogram as x, type ImageProjection as y, type CompositorSources as z };
|