@pixerate/editor 0.116.0 → 0.117.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-ZYZGEILO.cjs → chunk-2J3LS7JZ.cjs} +203 -203
- package/dist/{chunk-ZYZGEILO.cjs.map → chunk-2J3LS7JZ.cjs.map} +1 -1
- package/dist/{chunk-TFOPHZ3U.cjs → chunk-7ISPWEJA.cjs} +302 -5
- package/dist/chunk-7ISPWEJA.cjs.map +1 -0
- package/dist/{chunk-2UT4GXYA.cjs → chunk-BYAWOAST.cjs} +109 -41
- package/dist/chunk-BYAWOAST.cjs.map +1 -0
- package/dist/{chunk-PAOWHJ5O.cjs → chunk-EBSYZRSW.cjs} +217 -400
- package/dist/chunk-EBSYZRSW.cjs.map +1 -0
- package/dist/{chunk-XK5LZKBD.js → chunk-HKDTM6VC.js} +298 -1
- package/dist/chunk-HKDTM6VC.js.map +1 -0
- package/dist/{chunk-D53VQGEJ.js → chunk-IVSNUXW7.js} +79 -2
- package/dist/chunk-IVSNUXW7.js.map +1 -0
- package/dist/{chunk-ARQ7PQ6Q.js → chunk-JHXMNOMF.js} +71 -3
- package/dist/chunk-JHXMNOMF.js.map +1 -0
- package/dist/{chunk-HOCPSFGA.cjs → chunk-L2T6EJ5S.cjs} +154 -77
- package/dist/chunk-L2T6EJ5S.cjs.map +1 -0
- package/dist/{chunk-SEBYNBHW.js → chunk-R2JE6SA7.js} +9 -9
- package/dist/{chunk-D53KSJUV.js → chunk-VD2UDVF7.js} +100 -283
- package/dist/chunk-VD2UDVF7.js.map +1 -0
- package/dist/{export-BXxSGBCq.d.cts → export-DMOuzgZZ.d.cts} +8 -3
- package/dist/{export-Dm44YUvS.d.ts → export-Dul1SbPv.d.ts} +8 -3
- package/dist/{flow-COCB42TP.d.cts → flow-4-OC-UkQ.d.cts} +22 -1
- package/dist/{flow-BMtHAmg4.d.ts → flow-Cb7lkPm8.d.ts} +22 -1
- package/dist/image-editor/index.cjs +1112 -1024
- package/dist/image-editor/index.cjs.map +1 -1
- package/dist/image-editor/index.d.cts +6 -6
- package/dist/image-editor/index.d.ts +6 -6
- package/dist/image-editor/index.js +124 -36
- package/dist/image-editor/index.js.map +1 -1
- package/dist/paint/index.cjs +8 -4
- package/dist/paint/index.cjs.map +1 -1
- package/dist/paint/index.d.cts +2 -2
- package/dist/paint/index.d.ts +2 -2
- package/dist/paint/index.js +7 -3
- package/dist/paint-editor/index.cjs +242 -242
- package/dist/paint-editor/index.d.cts +4 -4
- package/dist/paint-editor/index.d.ts +4 -4
- package/dist/paint-editor/index.js +4 -4
- package/dist/raster/index.cjs +6 -4
- package/dist/raster/index.cjs.map +1 -1
- package/dist/raster/index.d.cts +2 -2
- package/dist/raster/index.d.ts +2 -2
- package/dist/raster/index.js +27 -25
- package/dist/{render-CrmHOgpo.d.ts → render-B05K68_h.d.ts} +9 -1
- package/dist/{render-B1K_OoLy.d.cts → render-DnAbIKcs.d.cts} +9 -1
- package/dist/vector/index.cjs +11272 -10183
- package/dist/vector/index.cjs.map +1 -1
- package/dist/vector/index.d.cts +135 -1
- package/dist/vector/index.d.ts +135 -1
- package/dist/vector/index.js +11179 -10090
- package/dist/vector/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-2UT4GXYA.cjs.map +0 -1
- package/dist/chunk-ARQ7PQ6Q.js.map +0 -1
- package/dist/chunk-D53KSJUV.js.map +0 -1
- package/dist/chunk-D53VQGEJ.js.map +0 -1
- package/dist/chunk-HOCPSFGA.cjs.map +0 -1
- package/dist/chunk-PAOWHJ5O.cjs.map +0 -1
- package/dist/chunk-TFOPHZ3U.cjs.map +0 -1
- package/dist/chunk-XK5LZKBD.js.map +0 -1
- /package/dist/{chunk-SEBYNBHW.js.map → chunk-R2JE6SA7.js.map} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a1 as RasterLayer, a0 as RasterGroupLayer, a5 as RasterPixelLayer, C as CompositorLayer, a as RasterCompositor, R as RasterSources, U as LayerLocks } from '../render-
|
|
2
|
-
import { D as Dab, C as CoverageMap, B as BrushSettings, e as StrokePoint, P as PaintTileTarget, T as TileMedium, M as MixerSettings, h as MixingModel, i as BlenderSettings, j as SmudgeSettings, a as MixerLoad, W as WetWorld, k as WetTilt, l as WetParams, m as WetFlowSpec, n as RgbTriple, o as WetWorldOptions, p as WetBackendInfo, q as WetSnapshot, r as WetPaperInput } from '../flow-
|
|
3
|
-
export { s as DEFAULT_FLOW, t as DEFAULT_WET_PARAMS, u as MAX_BRUSH_SIZE, v as WET_FLOW_KINDS, w as WET_PARAM_KEYS, x as WetFlowKind, y as WetSupport, z as normalizeFlow, A as normalizeWetParams, E as wetSupport } from '../flow-
|
|
1
|
+
import { a1 as RasterLayer, a0 as RasterGroupLayer, a5 as RasterPixelLayer, C as CompositorLayer, a as RasterCompositor, R as RasterSources, U as LayerLocks } from '../render-DnAbIKcs.cjs';
|
|
2
|
+
import { D as Dab, C as CoverageMap, B as BrushSettings, e as StrokePoint, P as PaintTileTarget, T as TileMedium, M as MixerSettings, h as MixingModel, i as BlenderSettings, j as SmudgeSettings, a as MixerLoad, W as WetWorld, k as WetTilt, l as WetParams, m as WetFlowSpec, n as RgbTriple, o as WetWorldOptions, p as WetBackendInfo, q as WetSnapshot, r as WetPaperInput } from '../flow-4-OC-UkQ.cjs';
|
|
3
|
+
export { s as DEFAULT_FLOW, t as DEFAULT_WET_PARAMS, u as MAX_BRUSH_SIZE, v as WET_FLOW_KINDS, w as WET_PARAM_KEYS, x as WetFlowKind, y as WetSupport, z as normalizeFlow, A as normalizeWetParams, E as wetSupport } from '../flow-4-OC-UkQ.cjs';
|
|
4
4
|
import { R as RasterRect, j as TiledSurface, a as BlendMode, b as BlendModeInfo } from '../surface-Cn30xIV6.cjs';
|
|
5
5
|
export { B as BLEND_MODES, P as PAINTERLY_BLEND_MODES, h as Tile, v as isBlendMode, w as isPainterlyBlendMode, I as standardBlendMode } from '../surface-Cn30xIV6.cjs';
|
|
6
|
-
import { I as ImageEditorAssetStore, S as SerializedLayer, P as PsdExportResult } from '../export-
|
|
6
|
+
import { I as ImageEditorAssetStore, S as SerializedLayer, P as PsdExportResult } from '../export-DMOuzgZZ.cjs';
|
|
7
7
|
import { V as VideoProject, A as VideoFfmpegExport } from '../export-Dv0-ZVrV.cjs';
|
|
8
8
|
import { g as PresenceStore, e as PresenceClock, d as PresenceActorInfo, c as PresenceActor, f as PresenceState } from '../presence-Cb6WhcrQ.cjs';
|
|
9
9
|
import { a as AgentToolProvider, A as AgentTool } from '../registry-BqA1AZt0.cjs';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a1 as RasterLayer, a0 as RasterGroupLayer, a5 as RasterPixelLayer, C as CompositorLayer, a as RasterCompositor, R as RasterSources, U as LayerLocks } from '../render-
|
|
2
|
-
import { D as Dab, C as CoverageMap, B as BrushSettings, e as StrokePoint, P as PaintTileTarget, T as TileMedium, M as MixerSettings, h as MixingModel, i as BlenderSettings, j as SmudgeSettings, a as MixerLoad, W as WetWorld, k as WetTilt, l as WetParams, m as WetFlowSpec, n as RgbTriple, o as WetWorldOptions, p as WetBackendInfo, q as WetSnapshot, r as WetPaperInput } from '../flow-
|
|
3
|
-
export { s as DEFAULT_FLOW, t as DEFAULT_WET_PARAMS, u as MAX_BRUSH_SIZE, v as WET_FLOW_KINDS, w as WET_PARAM_KEYS, x as WetFlowKind, y as WetSupport, z as normalizeFlow, A as normalizeWetParams, E as wetSupport } from '../flow-
|
|
1
|
+
import { a1 as RasterLayer, a0 as RasterGroupLayer, a5 as RasterPixelLayer, C as CompositorLayer, a as RasterCompositor, R as RasterSources, U as LayerLocks } from '../render-B05K68_h.js';
|
|
2
|
+
import { D as Dab, C as CoverageMap, B as BrushSettings, e as StrokePoint, P as PaintTileTarget, T as TileMedium, M as MixerSettings, h as MixingModel, i as BlenderSettings, j as SmudgeSettings, a as MixerLoad, W as WetWorld, k as WetTilt, l as WetParams, m as WetFlowSpec, n as RgbTriple, o as WetWorldOptions, p as WetBackendInfo, q as WetSnapshot, r as WetPaperInput } from '../flow-Cb7lkPm8.js';
|
|
3
|
+
export { s as DEFAULT_FLOW, t as DEFAULT_WET_PARAMS, u as MAX_BRUSH_SIZE, v as WET_FLOW_KINDS, w as WET_PARAM_KEYS, x as WetFlowKind, y as WetSupport, z as normalizeFlow, A as normalizeWetParams, E as wetSupport } from '../flow-Cb7lkPm8.js';
|
|
4
4
|
import { R as RasterRect, j as TiledSurface, a as BlendMode, b as BlendModeInfo } from '../surface-Cn30xIV6.js';
|
|
5
5
|
export { B as BLEND_MODES, P as PAINTERLY_BLEND_MODES, h as Tile, v as isBlendMode, w as isPainterlyBlendMode, I as standardBlendMode } from '../surface-Cn30xIV6.js';
|
|
6
|
-
import { I as ImageEditorAssetStore, S as SerializedLayer, P as PsdExportResult } from '../export-
|
|
6
|
+
import { I as ImageEditorAssetStore, S as SerializedLayer, P as PsdExportResult } from '../export-Dul1SbPv.js';
|
|
7
7
|
import { V as VideoProject, A as VideoFfmpegExport } from '../export-Dv0-ZVrV.js';
|
|
8
8
|
import { g as PresenceStore, e as PresenceClock, d as PresenceActorInfo, c as PresenceActor, f as PresenceState } from '../presence-Cb6WhcrQ.js';
|
|
9
9
|
import { a as AgentToolProvider, A as AgentTool } from '../registry-D-4fit9C.js';
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
resolveExternalAssets,
|
|
8
8
|
serializeLayers,
|
|
9
9
|
serializeLayersExternal
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-R2JE6SA7.js";
|
|
11
11
|
import {
|
|
12
12
|
RasterCompositor,
|
|
13
13
|
findLayer,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
insertLayer,
|
|
16
16
|
isLayerLocked,
|
|
17
17
|
mapLayer
|
|
18
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-VD2UDVF7.js";
|
|
19
19
|
import {
|
|
20
20
|
base64ToBytes,
|
|
21
21
|
bytesToBase64,
|
|
@@ -68,7 +68,7 @@ import {
|
|
|
68
68
|
pigmentOf,
|
|
69
69
|
rasterizeDab,
|
|
70
70
|
wetSupport
|
|
71
|
-
} from "../chunk-
|
|
71
|
+
} from "../chunk-IVSNUXW7.js";
|
|
72
72
|
import {
|
|
73
73
|
BLEND_MODES,
|
|
74
74
|
PAINTERLY_BLEND_MODES,
|
|
@@ -90,7 +90,7 @@ import {
|
|
|
90
90
|
tilesInRect,
|
|
91
91
|
translateSurface,
|
|
92
92
|
writeRegion
|
|
93
|
-
} from "../chunk-
|
|
93
|
+
} from "../chunk-HKDTM6VC.js";
|
|
94
94
|
import "../chunk-BRLYOPLT.js";
|
|
95
95
|
import "../chunk-6FCKOS2B.js";
|
|
96
96
|
import {
|
package/dist/raster/index.cjs
CHANGED
|
@@ -61,6 +61,7 @@
|
|
|
61
61
|
|
|
62
62
|
|
|
63
63
|
|
|
64
|
+
var _chunkEBSYZRSWcjs = require('../chunk-EBSYZRSW.cjs');
|
|
64
65
|
|
|
65
66
|
|
|
66
67
|
|
|
@@ -69,6 +70,7 @@
|
|
|
69
70
|
|
|
70
71
|
|
|
71
72
|
|
|
73
|
+
var _chunkEJVDBITDcjs = require('../chunk-EJVDBITD.cjs');
|
|
72
74
|
|
|
73
75
|
|
|
74
76
|
|
|
@@ -83,7 +85,6 @@
|
|
|
83
85
|
|
|
84
86
|
|
|
85
87
|
|
|
86
|
-
var _chunkPAOWHJ5Ocjs = require('../chunk-PAOWHJ5O.cjs');
|
|
87
88
|
|
|
88
89
|
|
|
89
90
|
|
|
@@ -92,7 +93,6 @@ var _chunkPAOWHJ5Ocjs = require('../chunk-PAOWHJ5O.cjs');
|
|
|
92
93
|
|
|
93
94
|
|
|
94
95
|
|
|
95
|
-
var _chunkEJVDBITDcjs = require('../chunk-EJVDBITD.cjs');
|
|
96
96
|
|
|
97
97
|
|
|
98
98
|
|
|
@@ -135,7 +135,8 @@ var _chunkEJVDBITDcjs = require('../chunk-EJVDBITD.cjs');
|
|
|
135
135
|
|
|
136
136
|
|
|
137
137
|
|
|
138
|
-
|
|
138
|
+
|
|
139
|
+
var _chunk7ISPWEJAcjs = require('../chunk-7ISPWEJA.cjs');
|
|
139
140
|
|
|
140
141
|
|
|
141
142
|
|
|
@@ -283,5 +284,6 @@ var _chunk643B2HKCcjs = require('../chunk-643B2HKC.cjs');
|
|
|
283
284
|
|
|
284
285
|
|
|
285
286
|
|
|
286
|
-
|
|
287
|
+
|
|
288
|
+
exports.BIT_DEPTHS = _chunk7ISPWEJAcjs.BIT_DEPTHS; exports.BLEND_MODES = _chunk7ISPWEJAcjs.BLEND_MODES; exports.CURVE_LUT_SIZE = _chunkEBSYZRSWcjs.CURVE_LUT_SIZE; exports.DEFAULT_GLOBAL_LIGHT = _chunkEBSYZRSWcjs.DEFAULT_GLOBAL_LIGHT; exports.DIRECT_GAUSSIAN_MAX_SIGMA = _chunkEBSYZRSWcjs.DIRECT_GAUSSIAN_MAX_SIGMA; exports.DeepCompositor = _chunkEBSYZRSWcjs.DeepCompositor; exports.INTERPOLATIONS = _chunkEBSYZRSWcjs.INTERPOLATIONS; exports.LAYER_EFFECT_KINDS = _chunkEBSYZRSWcjs.LAYER_EFFECT_KINDS; exports.LayerEffectError = _chunkEBSYZRSWcjs.LayerEffectError; exports.MAX_EFFECT_REACH = _chunkEBSYZRSWcjs.MAX_EFFECT_REACH; exports.MAX_TRANSFORM_PIXELS = _chunkEBSYZRSWcjs.MAX_TRANSFORM_PIXELS; exports.PAINTERLY_BLEND_MODES = _chunk7ISPWEJAcjs.PAINTERLY_BLEND_MODES; exports.PatternPlacement = _chunkEBSYZRSWcjs.PatternPlacement; exports.PatternTile = _chunkEBSYZRSWcjs.PatternTile; exports.RasterCompositor = _chunkEBSYZRSWcjs.RasterCompositor; exports.SHADOW_AMBIENT = _chunk7ISPWEJAcjs.SHADOW_AMBIENT; exports.STROKE_CHAMFER_MAX = _chunkEBSYZRSWcjs.STROKE_CHAMFER_MAX; exports.SurfaceDraft = _chunk7ISPWEJAcjs.SurfaceDraft; exports.TILE = _chunk7ISPWEJAcjs.TILE; exports.TILE_SHIFT = _chunk7ISPWEJAcjs.TILE_SHIFT; exports.TiledSurface = _chunk7ISPWEJAcjs.TiledSurface; exports.TransformTooLargeError = _chunkEBSYZRSWcjs.TransformTooLargeError; exports.ZlibError = _chunk643B2HKCcjs.ZlibError; exports.activeEffectItems = _chunkEBSYZRSWcjs.activeEffectItems; exports.adler32 = _chunk643B2HKCcjs.adler32; exports.base64ToBytes = _chunkEJVDBITDcjs.base64ToBytes; exports.blendChannel = _chunk7ISPWEJAcjs.blendChannel; exports.blendImageData = _chunk7ISPWEJAcjs.blendImageData; exports.blendLum = _chunk7ISPWEJAcjs.blendLum; exports.blendPixel = _chunk7ISPWEJAcjs.blendPixel; exports.blendRgb = _chunk7ISPWEJAcjs.blendRgb; exports.blendTile = _chunkEBSYZRSWcjs.blendTile; exports.buildEffectMaps = _chunkEBSYZRSWcjs.buildEffectMaps; exports.builtinPattern = _chunkEBSYZRSWcjs.builtinPattern; exports.builtinPatternIds = _chunkEBSYZRSWcjs.builtinPatternIds; exports.bytesToBase64 = _chunkEJVDBITDcjs.bytesToBase64; exports.canvasCompositeOperation = _chunk7ISPWEJAcjs.canvasCompositeOperation; exports.changedTiles = _chunkEBSYZRSWcjs.changedTiles; exports.collectTiles = _chunk7ISPWEJAcjs.collectTiles; exports.compositeLayerEffects = _chunkEBSYZRSWcjs.compositeLayerEffects; exports.compositeSurfaceOver = _chunkEBSYZRSWcjs.compositeSurfaceOver; exports.contentBounds = _chunk7ISPWEJAcjs.contentBounds; exports.contourLut = _chunkEBSYZRSWcjs.contourLut; exports.convertSurfaceDepth = _chunk7ISPWEJAcjs.convertSurfaceDepth; exports.curveLut = _chunkEBSYZRSWcjs.curveLut; exports.decodePng = _chunkEJVDBITDcjs.decodePng; exports.deepBytes = _chunk7ISPWEJAcjs.deepBytes; exports.deepTile = _chunk7ISPWEJAcjs.deepTile; exports.defaultEffectGradient = _chunkEBSYZRSWcjs.defaultEffectGradient; exports.defaultLayerEffect = _chunkEBSYZRSWcjs.defaultLayerEffect; exports.deflate = _chunk643B2HKCcjs.deflate; exports.deflateRaw = _chunk643B2HKCcjs.deflateRaw; exports.depthOf = _chunk7ISPWEJAcjs.depthOf; exports.effectColorHex = _chunkEBSYZRSWcjs.effectColorHex; exports.effectFillColors = _chunkEBSYZRSWcjs.effectFillColors; exports.effectReach = _chunkEBSYZRSWcjs.effectReach; exports.effectsAreLocal = _chunkEBSYZRSWcjs.effectsAreLocal; exports.effectsFingerprint = _chunkEBSYZRSWcjs.effectsFingerprint; exports.effectsMargin = _chunkEBSYZRSWcjs.effectsMargin; exports.effectsScale = _chunkEBSYZRSWcjs.effectsScale; exports.emptySurface = _chunk7ISPWEJAcjs.emptySurface; exports.encodePng = _chunkEJVDBITDcjs.encodePng; exports.fillRect = _chunk7ISPWEJAcjs.fillRect; exports.findLayer = _chunkEBSYZRSWcjs.findLayer; exports.finishTile = _chunk7ISPWEJAcjs.finishTile; exports.flattenLayers = _chunkEBSYZRSWcjs.flattenLayers; exports.gaussianBlur = _chunkEBSYZRSWcjs.gaussianBlur; exports.gradientT = _chunkEBSYZRSWcjs.gradientT; exports.hasActiveEffects = _chunkEBSYZRSWcjs.hasActiveEffects; exports.hashNoise = _chunkEBSYZRSWcjs.hashNoise; exports.inflate = _chunk643B2HKCcjs.inflate; exports.inflateRaw = _chunk643B2HKCcjs.inflateRaw; exports.insertLayer = _chunkEBSYZRSWcjs.insertLayer; exports.isBitDepth = _chunk7ISPWEJAcjs.isBitDepth; exports.isBlendMode = _chunk7ISPWEJAcjs.isBlendMode; exports.isInterpolation = _chunkEBSYZRSWcjs.isInterpolation; exports.isLayerEffectKind = _chunkEBSYZRSWcjs.isLayerEffectKind; exports.isLayerLocked = _chunkEBSYZRSWcjs.isLayerLocked; exports.isPainterlyBlendMode = _chunk7ISPWEJAcjs.isPainterlyBlendMode; exports.isPng = _chunkEJVDBITDcjs.isPng; exports.isSeparableBlendMode = _chunk7ISPWEJAcjs.isSeparableBlendMode; exports.keepDeepSamples = _chunk7ISPWEJAcjs.keepDeepSamples; exports.keysWeight = _chunkEBSYZRSWcjs.keysWeight; exports.layerEffectFields = _chunkEBSYZRSWcjs.layerEffectFields; exports.layerEffectLabel = _chunkEBSYZRSWcjs.layerEffectLabel; exports.mapLayer = _chunkEBSYZRSWcjs.mapLayer; exports.mergeLayerEffect = _chunkEBSYZRSWcjs.mergeLayerEffect; exports.mixPigment8 = _chunk7ISPWEJAcjs.mixPigment8; exports.mixPigmentRgb = _chunk7ISPWEJAcjs.mixPigmentRgb; exports.newEffectId = _chunkEBSYZRSWcjs.newEffectId; exports.normalizeBlendMode = _chunk7ISPWEJAcjs.normalizeBlendMode; exports.normalizeLayerEffects = _chunkEBSYZRSWcjs.normalizeLayerEffects; exports.packRgba = _chunk7ISPWEJAcjs.packRgba; exports.parseDataUrl = _chunkEJVDBITDcjs.parseDataUrl; exports.parseEffectColor = _chunkEBSYZRSWcjs.parseEffectColor; exports.patchEffectMaps = _chunkEBSYZRSWcjs.patchEffectMaps; exports.pigment8 = _chunk7ISPWEJAcjs.pigment8; exports.pngDataUrl = _chunkEJVDBITDcjs.pngDataUrl; exports.proxyOf = _chunk7ISPWEJAcjs.proxyOf; exports.readDeepRegion = _chunk7ISPWEJAcjs.readDeepRegion; exports.readPixel = _chunk7ISPWEJAcjs.readPixel; exports.readRegion = _chunk7ISPWEJAcjs.readRegion; exports.reduceSurface = _chunkEBSYZRSWcjs.reduceSurface; exports.renderLayerEffects = _chunkEBSYZRSWcjs.renderLayerEffects; exports.scaleLayerEffect = _chunkEBSYZRSWcjs.scaleLayerEffect; exports.setLum = _chunk7ISPWEJAcjs.setLum; exports.solidSurface = _chunk7ISPWEJAcjs.solidSurface; exports.srgbDecode = _chunk7ISPWEJAcjs.srgbDecode; exports.srgbEncode = _chunk7ISPWEJAcjs.srgbEncode; exports.standardBlendMode = _chunk7ISPWEJAcjs.standardBlendMode; exports.surfaceBytes = _chunk7ISPWEJAcjs.surfaceBytes; exports.surfaceDepth = _chunk7ISPWEJAcjs.surfaceDepth; exports.surfaceFromDeepPixels = _chunk7ISPWEJAcjs.surfaceFromDeepPixels; exports.surfaceFromPixels = _chunk7ISPWEJAcjs.surfaceFromPixels; exports.surfacesEqual = _chunk7ISPWEJAcjs.surfacesEqual; exports.tileCoord = _chunk7ISPWEJAcjs.tileCoord; exports.tileKey = _chunk7ISPWEJAcjs.tileKey; exports.tileRect = _chunk7ISPWEJAcjs.tileRect; exports.tileSamples = _chunk7ISPWEJAcjs.tileSamples; exports.tileSamples16 = _chunk7ISPWEJAcjs.tileSamples16; exports.tileSamples32 = _chunk7ISPWEJAcjs.tileSamples32; exports.tilesInRect = _chunk7ISPWEJAcjs.tilesInRect; exports.to16From32 = _chunk7ISPWEJAcjs.to16From32; exports.to16From8 = _chunk7ISPWEJAcjs.to16From8; exports.to32From16 = _chunk7ISPWEJAcjs.to32From16; exports.to32From8 = _chunk7ISPWEJAcjs.to32From8; exports.to8From16 = _chunk7ISPWEJAcjs.to8From16; exports.to8From32 = _chunk7ISPWEJAcjs.to8From32; exports.transformSurface = _chunkEBSYZRSWcjs.transformSurface; exports.transformedBounds = _chunkEBSYZRSWcjs.transformedBounds; exports.translateSurface = _chunk7ISPWEJAcjs.translateSurface; exports.uniformTile = _chunk7ISPWEJAcjs.uniformTile; exports.validateEffectGradient = _chunkEBSYZRSWcjs.validateEffectGradient; exports.validateLayerEffect = _chunkEBSYZRSWcjs.validateLayerEffect; exports.validateLayerEffects = _chunkEBSYZRSWcjs.validateLayerEffects; exports.warpSurface = _chunkEBSYZRSWcjs.warpSurface; exports.workingToSamples = _chunkEBSYZRSWcjs.workingToSamples; exports.writeDeepRegion = _chunk7ISPWEJAcjs.writeDeepRegion; exports.writeRegion = _chunk7ISPWEJAcjs.writeRegion;
|
|
287
289
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/editor/editor/packages/core/dist/raster/index.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/editor/editor/packages/core/dist/raster/index.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,swPAAC","file":"/home/runner/work/editor/editor/packages/core/dist/raster/index.cjs"}
|
package/dist/raster/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { R as RasterRect } from '../surface-Cn30xIV6.cjs';
|
|
2
2
|
export { B as BLEND_MODES, a as BlendMode, b as BlendModeInfo, M as MaskSurface, P as PAINTERLY_BLEND_MODES, c as PixelSurface, d as Rgb, e as Rgba, S as SHADOW_AMBIENT, f as SurfaceDraft, T as TILE, g as TILE_SHIFT, h as Tile, i as TileKey, j as TiledSurface, k as blendChannel, l as blendImageData, m as blendLum, n as blendPixel, o as blendRgb, p as canvasCompositeOperation, q as collectTiles, r as contentBounds, s as emptySurface, t as fillRect, u as finishTile, v as isBlendMode, w as isPainterlyBlendMode, x as isSeparableBlendMode, y as mixPigment8, z as mixPigmentRgb, A as normalizeBlendMode, C as packRgba, D as pigment8, E as readPixel, F as readRegion, G as setLum, H as solidSurface, I as standardBlendMode, J as surfaceBytes, K as surfaceFromPixels, L as surfacesEqual, N as tileCoord, O as tileKey, Q as tileRect, U as tilesInRect, V as translateSurface, W as uniformTile, X as writeRegion } from '../surface-Cn30xIV6.cjs';
|
|
3
|
-
import { C as CompositorLayer, R as RasterSources, a as RasterCompositor, b as CompositorProfile } from '../render-
|
|
4
|
-
export { B as BIT_DEPTHS, c as BevelContour, d as BevelEmbossEffect, e as BevelStyle, f as BevelTechnique, g as BevelTexture, h as BitDepth, i as ColorOverlayEffect, j as CompositeCallOptions, k as CompositeStats, l as CompositorOptions, m as ContourPoint, D as DEFAULT_GLOBAL_LIGHT, n as DeepSamples, o as DropShadowEffect, E as EffectCompositeInput, p as EffectContext, q as EffectContour, r as EffectFill, s as EffectGradient, t as EffectMaps, u as EffectPattern, v as EffectPatternRef, w as EffectRect, G as GlobalLight, x as GlowTechnique, y as GradientColorStop, z as GradientOpacityStop, A as GradientOverlayEffect, F as GradientStyle, H as GroupBlendMode, I as GroupIn, J as INTERPOLATIONS, K as InnerGlowEffect, L as InnerShadowEffect, M as Interpolation, N as LAYER_EFFECT_KINDS, O as LayerEffect, P as LayerEffectError, Q as LayerEffectKind, S as LayerEffects, T as LayerLocation, U as LayerLocks, V as MAX_EFFECT_REACH, W as MAX_TRANSFORM_PIXELS, X as OuterGlowEffect, Y as PatternOverlayEffect, Z as PatternPlacement, _ as PatternTile, $ as PixelFilterSpec, a0 as RasterGroupLayer, a1 as RasterLayer, a2 as RasterLayerBase, a3 as RasterMask, a4 as RasterNode, a5 as RasterPixelLayer, a6 as ResampleOptions, a7 as STROKE_CHAMFER_MAX, a8 as SatinEffect, a9 as StrokeEffect, aa as StrokePosition, ab as TransformTooLargeError, ac as activeEffectItems, ad as blendTile, ae as buildEffectMaps, af as builtinPattern, ag as builtinPatternIds, ah as changedTiles, ai as compositeLayerEffects, aj as compositeSurfaceOver, ak as contourLut, al as convertSurfaceDepth, am as deepBytes, an as deepTile, ao as defaultEffectGradient, ap as defaultLayerEffect, aq as depthOf, ar as effectColorHex, as as effectFillColors, at as effectReach, au as effectsAreLocal, av as effectsFingerprint, aw as effectsMargin, ax as effectsScale, ay as findLayer, az as flattenLayers, aA as gradientT, aB as hasActiveEffects, aC as hashNoise, aD as insertLayer, aE as isBitDepth, aF as isInterpolation, aG as isLayerEffectKind, aH as isLayerLocked, aI as
|
|
3
|
+
import { C as CompositorLayer, R as RasterSources, a as RasterCompositor, b as CompositorProfile } from '../render-DnAbIKcs.cjs';
|
|
4
|
+
export { B as BIT_DEPTHS, c as BevelContour, d as BevelEmbossEffect, e as BevelStyle, f as BevelTechnique, g as BevelTexture, h as BitDepth, i as ColorOverlayEffect, j as CompositeCallOptions, k as CompositeStats, l as CompositorOptions, m as ContourPoint, D as DEFAULT_GLOBAL_LIGHT, n as DeepSamples, o as DropShadowEffect, E as EffectCompositeInput, p as EffectContext, q as EffectContour, r as EffectFill, s as EffectGradient, t as EffectMaps, u as EffectPattern, v as EffectPatternRef, w as EffectRect, G as GlobalLight, x as GlowTechnique, y as GradientColorStop, z as GradientOpacityStop, A as GradientOverlayEffect, F as GradientStyle, H as GroupBlendMode, I as GroupIn, J as INTERPOLATIONS, K as InnerGlowEffect, L as InnerShadowEffect, M as Interpolation, N as LAYER_EFFECT_KINDS, O as LayerEffect, P as LayerEffectError, Q as LayerEffectKind, S as LayerEffects, T as LayerLocation, U as LayerLocks, V as MAX_EFFECT_REACH, W as MAX_TRANSFORM_PIXELS, X as OuterGlowEffect, Y as PatternOverlayEffect, Z as PatternPlacement, _ as PatternTile, $ as PixelFilterSpec, a0 as RasterGroupLayer, a1 as RasterLayer, a2 as RasterLayerBase, a3 as RasterMask, a4 as RasterNode, a5 as RasterPixelLayer, a6 as ResampleOptions, a7 as STROKE_CHAMFER_MAX, a8 as SatinEffect, a9 as StrokeEffect, aa as StrokePosition, ab as TransformTooLargeError, ac as activeEffectItems, ad as blendTile, ae as buildEffectMaps, af as builtinPattern, ag as builtinPatternIds, ah as changedTiles, ai as compositeLayerEffects, aj as compositeSurfaceOver, ak as contourLut, al as convertSurfaceDepth, am as deepBytes, an as deepTile, ao as defaultEffectGradient, ap as defaultLayerEffect, aq as depthOf, ar as effectColorHex, as as effectFillColors, at as effectReach, au as effectsAreLocal, av as effectsFingerprint, aw as effectsMargin, ax as effectsScale, ay as findLayer, az as flattenLayers, aA as gradientT, aB as hasActiveEffects, aC as hashNoise, aD as insertLayer, aE as isBitDepth, aF as isInterpolation, aG as isLayerEffectKind, aH as isLayerLocked, aI as keepDeepSamples, aJ as keysWeight, aK as layerEffectFields, aL as layerEffectLabel, aM as mapLayer, aN as mergeLayerEffect, aO as newEffectId, aP as normalizeLayerEffects, aQ as parseEffectColor, aR as patchEffectMaps, aS as proxyOf, aT as readDeepRegion, aU as reduceSurface, aV as renderLayerEffects, aW as scaleLayerEffect, aX as srgbDecode, aY as srgbEncode, aZ as surfaceDepth, a_ as surfaceFromDeepPixels, a$ as tileSamples, b0 as tileSamples16, b1 as tileSamples32, b2 as to16From32, b3 as to16From8, b4 as to32From16, b5 as to32From8, b6 as to8From16, b7 as to8From32, b8 as transformSurface, b9 as transformedBounds, ba as validateEffectGradient, bb as validateLayerEffect, bc as validateLayerEffects, bd as warpSurface, be as writeDeepRegion } from '../render-DnAbIKcs.cjs';
|
|
5
5
|
export { B as BlurEdge, C as CURVE_LUT_SIZE, D as DIRECT_GAUSSIAN_MAX_SIGMA, a as DecodedPng, Z as ZlibError, b as adler32, c as base64ToBytes, d as bytesToBase64, e as curveLut, f as decodePng, g as deflate, h as deflateRaw, i as encodePng, j as gaussianBlur, k as inflate, l as inflateRaw, m as isPng, p as parseDataUrl, n as pngDataUrl } from '../zlib-dxQdgHyN.cjs';
|
|
6
6
|
import '../types-CwMPoRMU.cjs';
|
|
7
7
|
|
package/dist/raster/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { R as RasterRect } from '../surface-Cn30xIV6.js';
|
|
2
2
|
export { B as BLEND_MODES, a as BlendMode, b as BlendModeInfo, M as MaskSurface, P as PAINTERLY_BLEND_MODES, c as PixelSurface, d as Rgb, e as Rgba, S as SHADOW_AMBIENT, f as SurfaceDraft, T as TILE, g as TILE_SHIFT, h as Tile, i as TileKey, j as TiledSurface, k as blendChannel, l as blendImageData, m as blendLum, n as blendPixel, o as blendRgb, p as canvasCompositeOperation, q as collectTiles, r as contentBounds, s as emptySurface, t as fillRect, u as finishTile, v as isBlendMode, w as isPainterlyBlendMode, x as isSeparableBlendMode, y as mixPigment8, z as mixPigmentRgb, A as normalizeBlendMode, C as packRgba, D as pigment8, E as readPixel, F as readRegion, G as setLum, H as solidSurface, I as standardBlendMode, J as surfaceBytes, K as surfaceFromPixels, L as surfacesEqual, N as tileCoord, O as tileKey, Q as tileRect, U as tilesInRect, V as translateSurface, W as uniformTile, X as writeRegion } from '../surface-Cn30xIV6.js';
|
|
3
|
-
import { C as CompositorLayer, R as RasterSources, a as RasterCompositor, b as CompositorProfile } from '../render-
|
|
4
|
-
export { B as BIT_DEPTHS, c as BevelContour, d as BevelEmbossEffect, e as BevelStyle, f as BevelTechnique, g as BevelTexture, h as BitDepth, i as ColorOverlayEffect, j as CompositeCallOptions, k as CompositeStats, l as CompositorOptions, m as ContourPoint, D as DEFAULT_GLOBAL_LIGHT, n as DeepSamples, o as DropShadowEffect, E as EffectCompositeInput, p as EffectContext, q as EffectContour, r as EffectFill, s as EffectGradient, t as EffectMaps, u as EffectPattern, v as EffectPatternRef, w as EffectRect, G as GlobalLight, x as GlowTechnique, y as GradientColorStop, z as GradientOpacityStop, A as GradientOverlayEffect, F as GradientStyle, H as GroupBlendMode, I as GroupIn, J as INTERPOLATIONS, K as InnerGlowEffect, L as InnerShadowEffect, M as Interpolation, N as LAYER_EFFECT_KINDS, O as LayerEffect, P as LayerEffectError, Q as LayerEffectKind, S as LayerEffects, T as LayerLocation, U as LayerLocks, V as MAX_EFFECT_REACH, W as MAX_TRANSFORM_PIXELS, X as OuterGlowEffect, Y as PatternOverlayEffect, Z as PatternPlacement, _ as PatternTile, $ as PixelFilterSpec, a0 as RasterGroupLayer, a1 as RasterLayer, a2 as RasterLayerBase, a3 as RasterMask, a4 as RasterNode, a5 as RasterPixelLayer, a6 as ResampleOptions, a7 as STROKE_CHAMFER_MAX, a8 as SatinEffect, a9 as StrokeEffect, aa as StrokePosition, ab as TransformTooLargeError, ac as activeEffectItems, ad as blendTile, ae as buildEffectMaps, af as builtinPattern, ag as builtinPatternIds, ah as changedTiles, ai as compositeLayerEffects, aj as compositeSurfaceOver, ak as contourLut, al as convertSurfaceDepth, am as deepBytes, an as deepTile, ao as defaultEffectGradient, ap as defaultLayerEffect, aq as depthOf, ar as effectColorHex, as as effectFillColors, at as effectReach, au as effectsAreLocal, av as effectsFingerprint, aw as effectsMargin, ax as effectsScale, ay as findLayer, az as flattenLayers, aA as gradientT, aB as hasActiveEffects, aC as hashNoise, aD as insertLayer, aE as isBitDepth, aF as isInterpolation, aG as isLayerEffectKind, aH as isLayerLocked, aI as
|
|
3
|
+
import { C as CompositorLayer, R as RasterSources, a as RasterCompositor, b as CompositorProfile } from '../render-B05K68_h.js';
|
|
4
|
+
export { B as BIT_DEPTHS, c as BevelContour, d as BevelEmbossEffect, e as BevelStyle, f as BevelTechnique, g as BevelTexture, h as BitDepth, i as ColorOverlayEffect, j as CompositeCallOptions, k as CompositeStats, l as CompositorOptions, m as ContourPoint, D as DEFAULT_GLOBAL_LIGHT, n as DeepSamples, o as DropShadowEffect, E as EffectCompositeInput, p as EffectContext, q as EffectContour, r as EffectFill, s as EffectGradient, t as EffectMaps, u as EffectPattern, v as EffectPatternRef, w as EffectRect, G as GlobalLight, x as GlowTechnique, y as GradientColorStop, z as GradientOpacityStop, A as GradientOverlayEffect, F as GradientStyle, H as GroupBlendMode, I as GroupIn, J as INTERPOLATIONS, K as InnerGlowEffect, L as InnerShadowEffect, M as Interpolation, N as LAYER_EFFECT_KINDS, O as LayerEffect, P as LayerEffectError, Q as LayerEffectKind, S as LayerEffects, T as LayerLocation, U as LayerLocks, V as MAX_EFFECT_REACH, W as MAX_TRANSFORM_PIXELS, X as OuterGlowEffect, Y as PatternOverlayEffect, Z as PatternPlacement, _ as PatternTile, $ as PixelFilterSpec, a0 as RasterGroupLayer, a1 as RasterLayer, a2 as RasterLayerBase, a3 as RasterMask, a4 as RasterNode, a5 as RasterPixelLayer, a6 as ResampleOptions, a7 as STROKE_CHAMFER_MAX, a8 as SatinEffect, a9 as StrokeEffect, aa as StrokePosition, ab as TransformTooLargeError, ac as activeEffectItems, ad as blendTile, ae as buildEffectMaps, af as builtinPattern, ag as builtinPatternIds, ah as changedTiles, ai as compositeLayerEffects, aj as compositeSurfaceOver, ak as contourLut, al as convertSurfaceDepth, am as deepBytes, an as deepTile, ao as defaultEffectGradient, ap as defaultLayerEffect, aq as depthOf, ar as effectColorHex, as as effectFillColors, at as effectReach, au as effectsAreLocal, av as effectsFingerprint, aw as effectsMargin, ax as effectsScale, ay as findLayer, az as flattenLayers, aA as gradientT, aB as hasActiveEffects, aC as hashNoise, aD as insertLayer, aE as isBitDepth, aF as isInterpolation, aG as isLayerEffectKind, aH as isLayerLocked, aI as keepDeepSamples, aJ as keysWeight, aK as layerEffectFields, aL as layerEffectLabel, aM as mapLayer, aN as mergeLayerEffect, aO as newEffectId, aP as normalizeLayerEffects, aQ as parseEffectColor, aR as patchEffectMaps, aS as proxyOf, aT as readDeepRegion, aU as reduceSurface, aV as renderLayerEffects, aW as scaleLayerEffect, aX as srgbDecode, aY as srgbEncode, aZ as surfaceDepth, a_ as surfaceFromDeepPixels, a$ as tileSamples, b0 as tileSamples16, b1 as tileSamples32, b2 as to16From32, b3 as to16From8, b4 as to32From16, b5 as to32From8, b6 as to8From16, b7 as to8From32, b8 as transformSurface, b9 as transformedBounds, ba as validateEffectGradient, bb as validateLayerEffect, bc as validateLayerEffects, bd as warpSurface, be as writeDeepRegion } from '../render-B05K68_h.js';
|
|
5
5
|
export { B as BlurEdge, C as CURVE_LUT_SIZE, D as DIRECT_GAUSSIAN_MAX_SIGMA, a as DecodedPng, Z as ZlibError, b as adler32, c as base64ToBytes, d as bytesToBase64, e as curveLut, f as decodePng, g as deflate, h as deflateRaw, i as encodePng, j as gaussianBlur, k as inflate, l as inflateRaw, m as isPng, p as parseDataUrl, n as pngDataUrl } from '../zlib-dxQdgHyN.js';
|
|
6
6
|
import '../types-CwMPoRMU.js';
|
|
7
7
|
|
package/dist/raster/index.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import {
|
|
2
|
-
BIT_DEPTHS,
|
|
3
2
|
CURVE_LUT_SIZE,
|
|
4
3
|
DEFAULT_GLOBAL_LIGHT,
|
|
5
4
|
DIRECT_GAUSSIAN_MAX_SIGMA,
|
|
@@ -23,13 +22,9 @@ import {
|
|
|
23
22
|
compositeLayerEffects,
|
|
24
23
|
compositeSurfaceOver,
|
|
25
24
|
contourLut,
|
|
26
|
-
convertSurfaceDepth,
|
|
27
25
|
curveLut,
|
|
28
|
-
deepBytes,
|
|
29
|
-
deepTile,
|
|
30
26
|
defaultEffectGradient,
|
|
31
27
|
defaultLayerEffect,
|
|
32
|
-
depthOf,
|
|
33
28
|
effectColorHex,
|
|
34
29
|
effectFillColors,
|
|
35
30
|
effectReach,
|
|
@@ -44,7 +39,6 @@ import {
|
|
|
44
39
|
hasActiveEffects,
|
|
45
40
|
hashNoise,
|
|
46
41
|
insertLayer,
|
|
47
|
-
isBitDepth,
|
|
48
42
|
isInterpolation,
|
|
49
43
|
isLayerEffectKind,
|
|
50
44
|
isLayerLocked,
|
|
@@ -57,33 +51,17 @@ import {
|
|
|
57
51
|
normalizeLayerEffects,
|
|
58
52
|
parseEffectColor,
|
|
59
53
|
patchEffectMaps,
|
|
60
|
-
proxyOf,
|
|
61
|
-
readDeepRegion,
|
|
62
54
|
reduceSurface,
|
|
63
55
|
renderLayerEffects,
|
|
64
56
|
scaleLayerEffect,
|
|
65
|
-
srgbDecode,
|
|
66
|
-
srgbEncode,
|
|
67
|
-
surfaceDepth,
|
|
68
|
-
surfaceFromDeepPixels,
|
|
69
|
-
tileSamples,
|
|
70
|
-
tileSamples16,
|
|
71
|
-
tileSamples32,
|
|
72
|
-
to16From32,
|
|
73
|
-
to16From8,
|
|
74
|
-
to32From16,
|
|
75
|
-
to32From8,
|
|
76
|
-
to8From16,
|
|
77
|
-
to8From32,
|
|
78
57
|
transformSurface,
|
|
79
58
|
transformedBounds,
|
|
80
59
|
validateEffectGradient,
|
|
81
60
|
validateLayerEffect,
|
|
82
61
|
validateLayerEffects,
|
|
83
62
|
warpSurface,
|
|
84
|
-
workingToSamples
|
|
85
|
-
|
|
86
|
-
} from "../chunk-D53KSJUV.js";
|
|
63
|
+
workingToSamples
|
|
64
|
+
} from "../chunk-VD2UDVF7.js";
|
|
87
65
|
import {
|
|
88
66
|
base64ToBytes,
|
|
89
67
|
bytesToBase64,
|
|
@@ -94,6 +72,7 @@ import {
|
|
|
94
72
|
pngDataUrl
|
|
95
73
|
} from "../chunk-N3467VD6.js";
|
|
96
74
|
import {
|
|
75
|
+
BIT_DEPTHS,
|
|
97
76
|
BLEND_MODES,
|
|
98
77
|
PAINTERLY_BLEND_MODES,
|
|
99
78
|
SHADOW_AMBIENT,
|
|
@@ -109,33 +88,55 @@ import {
|
|
|
109
88
|
canvasCompositeOperation,
|
|
110
89
|
collectTiles,
|
|
111
90
|
contentBounds,
|
|
91
|
+
convertSurfaceDepth,
|
|
92
|
+
deepBytes,
|
|
93
|
+
deepTile,
|
|
94
|
+
depthOf,
|
|
112
95
|
emptySurface,
|
|
113
96
|
fillRect,
|
|
114
97
|
finishTile,
|
|
98
|
+
isBitDepth,
|
|
115
99
|
isBlendMode,
|
|
116
100
|
isPainterlyBlendMode,
|
|
117
101
|
isSeparableBlendMode,
|
|
102
|
+
keepDeepSamples,
|
|
118
103
|
mixPigment8,
|
|
119
104
|
mixPigmentRgb,
|
|
120
105
|
normalizeBlendMode,
|
|
121
106
|
packRgba,
|
|
122
107
|
pigment8,
|
|
108
|
+
proxyOf,
|
|
109
|
+
readDeepRegion,
|
|
123
110
|
readPixel,
|
|
124
111
|
readRegion,
|
|
125
112
|
setLum,
|
|
126
113
|
solidSurface,
|
|
114
|
+
srgbDecode,
|
|
115
|
+
srgbEncode,
|
|
127
116
|
standardBlendMode,
|
|
128
117
|
surfaceBytes,
|
|
118
|
+
surfaceDepth,
|
|
119
|
+
surfaceFromDeepPixels,
|
|
129
120
|
surfaceFromPixels,
|
|
130
121
|
surfacesEqual,
|
|
131
122
|
tileCoord,
|
|
132
123
|
tileKey,
|
|
133
124
|
tileRect,
|
|
125
|
+
tileSamples,
|
|
126
|
+
tileSamples16,
|
|
127
|
+
tileSamples32,
|
|
134
128
|
tilesInRect,
|
|
129
|
+
to16From32,
|
|
130
|
+
to16From8,
|
|
131
|
+
to32From16,
|
|
132
|
+
to32From8,
|
|
133
|
+
to8From16,
|
|
134
|
+
to8From32,
|
|
135
135
|
translateSurface,
|
|
136
136
|
uniformTile,
|
|
137
|
+
writeDeepRegion,
|
|
137
138
|
writeRegion
|
|
138
|
-
} from "../chunk-
|
|
139
|
+
} from "../chunk-HKDTM6VC.js";
|
|
139
140
|
import {
|
|
140
141
|
ZlibError,
|
|
141
142
|
adler32,
|
|
@@ -226,6 +227,7 @@ export {
|
|
|
226
227
|
isPainterlyBlendMode,
|
|
227
228
|
isPng,
|
|
228
229
|
isSeparableBlendMode,
|
|
230
|
+
keepDeepSamples,
|
|
229
231
|
keysWeight,
|
|
230
232
|
layerEffectFields,
|
|
231
233
|
layerEffectLabel,
|
|
@@ -916,6 +916,14 @@ declare function surfaceFromDeepPixels(pixels: {
|
|
|
916
916
|
declare function convertSurfaceDepth(surface: TiledSurface, depth: BitDepth): TiledSurface;
|
|
917
917
|
/** Bytes held by deep samples (in addition to `surfaceBytes`). */
|
|
918
918
|
declare function deepBytes(surface: TiledSurface): number;
|
|
919
|
+
/**
|
|
920
|
+
* `after` (a surface an 8-bit operation rewrote from `before`) with the deep samples kept where
|
|
921
|
+
* the operation left a pixel's 8-bit value alone: a rewritten tile of a deep surface becomes deep
|
|
922
|
+
* again, its unchanged pixels taking `before`'s samples and its changed ones the 8-bit result
|
|
923
|
+
* lifted to the depth. The result renders exactly as `after` does, so it is never worse than the
|
|
924
|
+
* 8-bit path, and an untouched area of a filtered, smudged or cloned 16-bit layer keeps 16 bits.
|
|
925
|
+
*/
|
|
926
|
+
declare function keepDeepSamples(before: TiledSurface, after: TiledSurface): TiledSurface;
|
|
919
927
|
|
|
920
928
|
/**
|
|
921
929
|
* CPU renderer for layer effects.
|
|
@@ -1051,4 +1059,4 @@ declare function renderLayerEffects(effects: LayerEffects, layer: {
|
|
|
1051
1059
|
fillOpacity?: number;
|
|
1052
1060
|
}, backdrop: Uint8ClampedArray, canvas: EffectRect, ctx: EffectContext): void;
|
|
1053
1061
|
|
|
1054
|
-
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,
|
|
1062
|
+
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 };
|
|
@@ -916,6 +916,14 @@ declare function surfaceFromDeepPixels(pixels: {
|
|
|
916
916
|
declare function convertSurfaceDepth(surface: TiledSurface, depth: BitDepth): TiledSurface;
|
|
917
917
|
/** Bytes held by deep samples (in addition to `surfaceBytes`). */
|
|
918
918
|
declare function deepBytes(surface: TiledSurface): number;
|
|
919
|
+
/**
|
|
920
|
+
* `after` (a surface an 8-bit operation rewrote from `before`) with the deep samples kept where
|
|
921
|
+
* the operation left a pixel's 8-bit value alone: a rewritten tile of a deep surface becomes deep
|
|
922
|
+
* again, its unchanged pixels taking `before`'s samples and its changed ones the 8-bit result
|
|
923
|
+
* lifted to the depth. The result renders exactly as `after` does, so it is never worse than the
|
|
924
|
+
* 8-bit path, and an untouched area of a filtered, smudged or cloned 16-bit layer keeps 16 bits.
|
|
925
|
+
*/
|
|
926
|
+
declare function keepDeepSamples(before: TiledSurface, after: TiledSurface): TiledSurface;
|
|
919
927
|
|
|
920
928
|
/**
|
|
921
929
|
* CPU renderer for layer effects.
|
|
@@ -1051,4 +1059,4 @@ declare function renderLayerEffects(effects: LayerEffects, layer: {
|
|
|
1051
1059
|
fillOpacity?: number;
|
|
1052
1060
|
}, backdrop: Uint8ClampedArray, canvas: EffectRect, ctx: EffectContext): void;
|
|
1053
1061
|
|
|
1054
|
-
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,
|
|
1062
|
+
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 };
|