@pixerate/editor 0.134.0 → 0.135.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-6CTZAGZ2.js → chunk-ILYFOJUN.js} +56 -1
- package/dist/chunk-ILYFOJUN.js.map +1 -0
- package/dist/{chunk-NVTHUPJ6.cjs → chunk-YT3JL7YM.cjs} +71 -16
- package/dist/chunk-YT3JL7YM.cjs.map +1 -0
- package/dist/{export-BGdT02aL.d.cts → export-AZSwX087.d.cts} +10 -2
- package/dist/{export-Dng22YB8.d.ts → export-BDkyDNM8.d.ts} +10 -2
- package/dist/image-editor/index.cjs +130 -38
- package/dist/image-editor/index.cjs.map +1 -1
- package/dist/image-editor/index.d.cts +20 -5
- package/dist/image-editor/index.d.ts +20 -5
- package/dist/image-editor/index.js +102 -10
- package/dist/image-editor/index.js.map +1 -1
- package/dist/paint/index.cjs +10 -2
- 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 +9 -1
- package/dist/paint-editor/index.d.cts +3 -3
- package/dist/paint-editor/index.d.ts +3 -3
- package/dist/{rand-BaqEOs1Y.d.ts → rand-BszBST4s.d.ts} +31 -1
- package/dist/{rand-DdpFzCo6.d.cts → rand-DOH_aMvm.d.cts} +31 -1
- package/package.json +1 -1
- package/skills/pixerate-image-editor/SKILL.md +4 -4
- package/skills/pixerate-vector/SKILL.md +6 -1
- package/dist/chunk-6CTZAGZ2.js.map +0 -1
- package/dist/chunk-NVTHUPJ6.cjs.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as ImageAdjustments, D as DepthMaskOptions, b as SerializedImageEditorState, A as AdjustmentKind, c as AdjustmentLayer, d as AdjustmentParamsMap, e as AdjustmentLayerMask, f as AdjustmentLayerOf, C as CurvePoint, H as HueRange, L as LevelsChannel, g as ImageEditorController, h as SelectionMask, i as SelectionMode, j as ColorDistance, R as RefineEdgeParams, k as ImagePoint, l as ImageLayer, m as CropBox, n as RasterMask, o as Annotation, p as AdjustmentLayerNode, T as TextEnv, q as AnnotationLayer, r as ShapeLayer, s as TypeLayer, t as LayerFilter, u as PixelLayer, v as DevelopFilter, w as ImageTransform, x as ImageHistogram, y as ImageProjection, z as CompositorSources, B as LayerCompositor, E as LiveShapeKind, F as TypeLayerInfo, G as SmartFilter, J as LayerPlacement, K as FreeTransformMode, M as FreeTransformResult, N as FreeTransformSession, O as FreeTransformInit, Q as TransformAnchor } from '../export-
|
|
2
|
-
export { U as AIResultOptions, V as AdjustmentLayerBase, W as AdjustmentLayerInit, X as AdjustmentLayerUpdate, Y as AnnotationPlacement, Z as AnnotationType, _ as ArrowAnnotation, $ as AspectRatio, a0 as BaseAnnotation, a1 as BlackWhiteParams, a2 as BlurFilter, a3 as CircleAnnotation, a4 as CloneSource, a5 as ColorBalanceParams, a6 as ColorBalanceTone, a7 as ColorRangeOptions, a8 as ColorRangeSample, a9 as ConvertOptions, aa as CreateAnnotationPayload, ab as CropHandle, ac as CurvesParams, ad as DEFAULT_ADJUSTMENTS, ae as DEFAULT_DEPTH_MASK, af as DEFAULT_MITER_LIMIT, ag as DEFAULT_PROOF, ah as DEFAULT_REFINE_EDGE_PARAMS, ai as DEFAULT_TRANSFORM, aj as DeserializeContext, ak as DevelopSettings, al as DocumentColorMode, am as DocumentColorProfile, an as EMPTY_DISTANCE, ao as EffectSmartFilter, ap as ExportOptions, aq as FREE_TRANSFORM_CONTENTS, ar as FREE_TRANSFORM_MODES, as as FillOptions, at as FreeTransformContent, au as FreeTransformGeometry, av as FreeTransformHost, aw as FreeTransformPreview, ax as GUIDED_FILTER_EPS, ay as GroupLayer, az as HISTOGRAM_BINS, aA as HistogramChannel, aB as HistoryEntryHandle, aC as HueSaturationParams, aD as IMAGE_EDITOR_SCHEMA_VERSION, aE as IMAGE_EFFECT_PLACES, aF as ImageAnnotation, aG as ImageDimensions, aH as ImageEditorAIHooks, I as ImageEditorAssetStore, aI as ImageEditorFit, aJ as ImageEditorOptions, aK as ImageEditorRenderer, aL as ImageEditorState, aM as ImageEditorTool, aN as ImageEffectGenerator, aO as ImageEffectPlace, aP as ImageEffectsEngine, aQ as ImageEffectsEngineOptions, aR as ImageLayerType, aS as InpaintHook, aT as InpaintOptions, aU as InvertParams, aV as LAYERED_SCHEMA_VERSION, aW as LIVE_SHAPE_KINDS, aX as LayerBase, aY as LayerBlendMode, aZ as LayerFilterKind, a_ as LayerLocation, a$ as LayerMaskProps, b0 as LayerOperationError, b1 as LayerProperties, b2 as LayerSourcesHost, b3 as LayerTarget, b4 as LegacySerializedImageEditorState, b5 as LevelsParams, b6 as LineAnnotation, b7 as LiveShape, b8 as MagicWandOptions, b9 as MixerStrokeInit, ba as PARAGRAPH_STYLE_FIELDS, bb as PSD_BLEND_KEYS, bc as PaintOptions, bd as PaintStrokeResult, be as PaintStrokeSession, bf as PenAnnotation, bg as PhotoFilterParams, bh as PixelBuffer, bi as PixelLayerInit, bj as PixelTransform, bk as PosterizeParams, bl as ProofSetup, bm as PsdChannel, bn as PsdExportInput, P as PsdExportResult, bo as PsdFile, bp as PsdHeader, bq as PsdImportOptions, br as PsdImportResult, bs as PsdLayerMask, bt as PsdLayerRecord, bu as PsdLayerSummary, bv as PsdRect, bw as PsdResource, bx as PsdSmartFilter, by as PsdTaggedBlock, bz as PsdTreeNode, bA as RETOUCH_TOOLS, bB as RectAnnotation, bC as RemoveBackgroundHook, bD as RemoveBackgroundOptions, bE as RenderOptions, bF as RetouchStrokeInit, bG as RetouchTool, bH as SELECTION_MODES, bI as SELECTION_MODIFY_OPS, bJ as SHAPE_OPERATIONS, bK as SHAPE_RENDER_MARGIN, bL as SMART_RENDER_MARGIN, bM as SampleOptions, bN as SelectionChannel, bO as SelectionCommandOptions, bP as SelectionModifyOp, bQ as SerializeContext, bR as SerializedAdjustmentLayer, bS as SerializedAnnotationLayer, bT as SerializedColorMode, bU as SerializedColorProfile, bV as SerializedDeepPixels, bW as SerializedGroupLayer, S as SerializedLayer, bX as SerializedLayerEffects, bY as SerializedLayeredImageEditorState, bZ as SerializedPattern, b_ as SerializedPixelLayer, b$ as SerializedRasterMask, c0 as SerializedSelection, c1 as SerializedShapeLayer, c2 as SerializedSmartContents, c3 as SerializedSmartFilter, c4 as SerializedSmartObjectLayer, c5 as SerializedTypeLayer, c6 as ShapeArrowhead, c7 as ShapeComponent, c8 as ShapeEnv, c9 as ShapeFillRule, ca as ShapeGeometryInput, cb as ShapeLayerData, cc as ShapeLayerInfo, cd as ShapeLayerInit, ce as ShapeLineCap, cf as ShapeLineJoin, cg as ShapeOperation, ch as ShapePaint, ci as ShapePsdData, cj as ShapeSelectionOptions, ck as ShapeStroke, cl as ShapeStrokeAlign, cm as ShapeStrokeInput, cn as SmartCanvas, co as SmartContents, cp as SmartDocument, cq as SmartEffectResolver, cr as SmartFilterKind, cs as SmartFilterStack, ct as SmartObjectInfo, cu as SmartObjectLayer, cv as SmartPlacement, cw as SmartPsdData, cx as SmartRenderOptions, cy as StrokeInit, cz as StrokeTool, cA as TEXT_RENDER_MARGIN, cB as TEXT_STYLE_FIELDS, cC as TONE_RANGE_PRESETS, cD as TRANSFORM_ANCHORS, cE as TextAnnotation, cF as TextLayerInit, cG as ThresholdParams, cH as ToneRangePreset, cI as TransformParams, cJ as TransformReadout, cK as TypeLayerData, cL as TypePsdData, cM as VibranceParams, cN as ViewportMetrics, cO as activeEffectSmartFilters, cP as activeSmartFilters, cQ as addLayerEffect, cR as addLayerFilter, cS as addSmartFilter, cT as adjustmentNodeAsLayer, cU as anchorPoint, cV as annotationBlend, cW as annotationOfShape, cX as annotationOfType, cY as applyImageProjectionToContext, cZ as applyParams, c_ as applySmartFilters, c$ as blurFilter, d0 as borderCoverage, d1 as boxMean, d2 as boxPointOf, d3 as buildLayerMaskPlanes, d4 as calculateCropDrag, d5 as canvasToImagePoint, d6 as checkImageEffectPlace, d7 as clampCropToImage, d8 as colorModePlanes, d9 as colorModePlanes16, da as colorRange, db as combineSelections, dc as componentPath, dd as compositeDeep, de as computeHistogram, df as computeSelectionBounds, dg as contentsBox, dh as contentsSurface, di as contractCoverage, dj as convertColorFields, dk as convertHex, dl as convertSurfaceColors, dm as convertToSmartObject, dn as copySmartObject, dp as cornersFromMatrix, dq as coverageToByte, dr as createSelectionMask, ds as createShapeLayer, dt as createTypeLayer, du as decodeDeepSurface, dv as decodeLayerChannel, dw as decodeLayerMask, dx as decodeMergedImage, dy as decodePngDataUrl, dz as decodeSelectionRle, dA as defaultShapeName, dB as depthMaskAlpha, dC as describeTransform, dD as deserializeColorMode, dE as deserializeColorProfile, dF as deserializeEffects, dG as deserializeLayer, dH as deserializeLayers, dI as deserializePatterns, dJ as deserializeSelection, dK as developFilter, dL as displayTransform, dM as distanceTransform, dN as documentContents, dO as documentProfile, dP as duplicateLayer, dQ as edgeWidth, dR as effectPixelsToSurface, dS as effectiveProof, dT as ellipsePoints, dU as ellipseSelection, dV as encodeDeepSurface, dW as encodeSelectionRle, dX as encodeSurface, dY as expandCoverage, dZ as exportPsd, d_ as featherCoverage, d$ as filterMaskCoverage, e0 as flipCorners, e1 as fullSelection, e2 as geometryHomography, e3 as getAnnotationBounds, e4 as getCropCursor, e5 as getRotatedSize, e6 as getViewportMetrics, e7 as getViewportProjection, e8 as globalImageCache, e9 as greyMorphology, ea as groupLayers, eb as guidePlanes, ec as guidedFilterColor, ed as hasSurface, ee as hasWarp, ef as hashMaskContent, eg as histogramPath, eh as hitTestAnnotation, ei as hitTestCrop, ej as hueRange, ek as identityTransform, el as imageToCanvasPoint, em as importPsd, en as instancesOf, eo as invertSelection, ep as isActiveFilter, eq as isContentsDecoded, er as isIdentityTransform, es as isQuarterTurnSwapped, et as isRenderedLayer, eu as isRetouchTool, ev as isSelectionEmpty, ew as isSelectionMode, ex as isSmartSurfaceIncomplete, ey as isSpatialFilter, ez as isSrgb, eA as isTransformAnchor, eB as isValidWarp, eC as layerEffectsOf, eD as layerMaskCoverage, eE as layerMaskFromSelection, eF as layerMaskKey, eG as layerName, eH as layerTree, eI as layerTypeLabel, eJ as liveComponent, eK as liveShapeSubpaths, eL as magicWand, eM as mapCropHandle, eN as mapSubpaths, eO as matrixFromCorners, eP as matrixFromParams, eQ as mergeShapeComponents, eR as migrateSerializedImageEditorState, eS as migrateToLayeredState, eT as modifySelection, eU as moveLayer, eV as moveSmartFilter, eW as newContentsId, eX as newLayerId, eY as normalizeAngle, eZ as normalizeFilter, e_ as normalizeLayerMask, e$ as normalizeLiveShape, f0 as normalizePlacement, f1 as normalizeRect, f2 as normalizeRefineEdgeParams, f3 as normalizeShapePaint, f4 as normalizeShapeStroke, f5 as normalizeSmartFilter, f6 as normalizeStoredAdjustments, f7 as normalizeSubpaths, f8 as normalizeText, f9 as offsetLayer, fa as offsetShape, fb as offsetSmartObject, fc as parseBlend, fd as parseColor, fe as parseSelectionMode, ff as patchParagraphStyle, fg as patchTextStyle, fh as pixelLayerBounds, fi as pixelLayers, fj as placeContents, fk as placeLayer, fl as placementAt, fm as placementBounds, fn as placementGeometry, fo as polygonCoverage, fp as polygonSelection, fq as presetWarp, fr as previewStep, fs as profileBytes, ft as projectImagePoint, fu as projectImageRect, fv as projectMaskCoverage, fw as psdToLayers, fx as rasterContents, fy as rasterizeSmartObject, fz as readPsd, fA as rectSelection, fB as referencePoint, fC as refineCoverage, fD as refineEdgeHalo, fE as refineSelection, fF as removeLayer, fG as removeLayerEffect, fH as removeLayerFilter, fI as removeSmartFilter, fJ as renderShape, fK as renderShapeRect, fL as renderSmartObject, fM as renderText, fN as replaceContents, fO as replaceTextRange, fP as requireLayer, fQ as requireOperation, fR as requireShapeLayer, fS as requireSmartObject, fT as requireTypeLayer, fU as requireUnlocked, fV as rerender, fW as rerenderShape, fX as rerenderText, fY as resizePixels, fZ as resizeSelection, f_ as resolveExternalAssets, f$ as resolveProfile, g0 as runLayerFilters, g1 as runLayerFiltersFloat, g2 as selectionArea, g3 as selectionFromCoverage, g4 as selectionFromPixels, g5 as selectionToCoverage, g6 as selectionToPixels, g7 as selectionValueAt, g8 as serializeColorMode, g9 as serializeColorProfile, ga as serializeContents, gb as serializeEffects, gc as serializeLayer, gd as serializeLayers, ge as serializeLayersExternal, gf as serializePatterns, gg as serializeSelection, gh as setLayerEffects, gi as setLayerEffectsEnabled, gj as setLayerMask, gk as setLayerProperties, gl as setSmartFilterMask, gm as setSmartFiltersEnabled, gn as setSmartPlacement, go as shapeAsPixelLayer, gp as shapeFromAnnotation, gq as shapeGeometryBounds, gr as shapeLayers, gs as shapeOutline, gt as shapeRenderClip, gu as shiftCoverage, gv as smartObjectLayers, gw as smoothCoverage, gx as srgb8ToLab, gy as textMatrix, gz as textOutlines, gA as textRange, gB as toHex, gC as toTextSpace, gD as toneRange, gE as transformHomography, gF as transformMap, gG as transformShapeComponents, gH as transformTypeLayer, gI as transformedBox, gJ as transformedPoint, gK as typeAsPixelLayer, gL as typeFrame, gM as typeFromAnnotation, gN as typeLayerName, gO as ungroupLayer, gP as unionRect, gQ as unprojectCanvasPoint, gR as updateLayerEffect, gS as updateLayerFilter, gT as updateLayerMaskProps, gU as updateShapeLayer, gV as updateSmartFilter, gW as updateTypeLayer, gX as withFilterMaskSurface, gY as withNewIds, gZ as writePsd } from '../export-BGdT02aL.cjs';
|
|
1
|
+
import { a as ImageAdjustments, D as DepthMaskOptions, b as SerializedImageEditorState, A as AdjustmentKind, c as AdjustmentLayer, d as AdjustmentParamsMap, e as AdjustmentLayerMask, f as AdjustmentLayerOf, C as CurvePoint, H as HueRange, L as LevelsChannel, g as ImageEditorController, h as SelectionMask, i as SelectionMode, j as ColorDistance, R as RefineEdgeParams, k as ImagePoint, l as ImageLayer, m as CropBox, n as RasterMask, o as Annotation, p as AdjustmentLayerNode, T as TextEnv, q as AnnotationLayer, r as ShapeLayer, s as TypeLayer, t as LayerFilter, u as PixelLayer, v as DevelopFilter, w as ImageTransform, x as ImageHistogram, y as ImageProjection, z as CompositorSources, B as LayerCompositor, E as LiveShapeKind, F as TypeLayerInfo, G as SmartFilter, J as LayerPlacement, K as FreeTransformMode, M as FreeTransformResult, N as FreeTransformSession, O as FreeTransformInit, Q as TransformAnchor } from '../export-AZSwX087.cjs';
|
|
2
|
+
export { U as AIResultOptions, V as AdjustmentLayerBase, W as AdjustmentLayerInit, X as AdjustmentLayerUpdate, Y as AnnotationPlacement, Z as AnnotationType, _ as ArrowAnnotation, $ as AspectRatio, a0 as BaseAnnotation, a1 as BlackWhiteParams, a2 as BlurFilter, a3 as CircleAnnotation, a4 as CloneSource, a5 as ColorBalanceParams, a6 as ColorBalanceTone, a7 as ColorRangeOptions, a8 as ColorRangeSample, a9 as ConvertOptions, aa as CreateAnnotationPayload, ab as CropHandle, ac as CurvesParams, ad as DEFAULT_ADJUSTMENTS, ae as DEFAULT_DEPTH_MASK, af as DEFAULT_MITER_LIMIT, ag as DEFAULT_PROOF, ah as DEFAULT_REFINE_EDGE_PARAMS, ai as DEFAULT_TRANSFORM, aj as DeserializeContext, ak as DevelopSettings, al as DocumentColorMode, am as DocumentColorProfile, an as EMPTY_DISTANCE, ao as EffectSmartFilter, ap as ExportOptions, aq as FREE_TRANSFORM_CONTENTS, ar as FREE_TRANSFORM_MODES, as as FillOptions, at as FreeTransformContent, au as FreeTransformGeometry, av as FreeTransformHost, aw as FreeTransformPreview, ax as GUIDED_FILTER_EPS, ay as GroupLayer, az as HISTOGRAM_BINS, aA as HistogramChannel, aB as HistoryEntryHandle, aC as HueSaturationParams, aD as IMAGE_EDITOR_SCHEMA_VERSION, aE as IMAGE_EFFECT_PLACES, aF as ImageAnnotation, aG as ImageDimensions, aH as ImageEditorAIHooks, I as ImageEditorAssetStore, aI as ImageEditorFit, aJ as ImageEditorOptions, aK as ImageEditorRenderer, aL as ImageEditorState, aM as ImageEditorTool, aN as ImageEffectGenerator, aO as ImageEffectPlace, aP as ImageEffectsEngine, aQ as ImageEffectsEngineOptions, aR as ImageLayerType, aS as InpaintHook, aT as InpaintOptions, aU as InvertParams, aV as LAYERED_SCHEMA_VERSION, aW as LIVE_SHAPE_KINDS, aX as LayerBase, aY as LayerBlendMode, aZ as LayerFilterKind, a_ as LayerLocation, a$ as LayerMaskProps, b0 as LayerOperationError, b1 as LayerProperties, b2 as LayerSourcesHost, b3 as LayerTarget, b4 as LegacySerializedImageEditorState, b5 as LevelsParams, b6 as LineAnnotation, b7 as LiveShape, b8 as MagicWandOptions, b9 as MixerStrokeInit, ba as PARAGRAPH_STYLE_FIELDS, bb as PSD_BLEND_KEYS, bc as PaintOptions, bd as PaintStrokeResult, be as PaintStrokeSession, bf as PenAnnotation, bg as PhotoFilterParams, bh as PixelBuffer, bi as PixelLayerInit, bj as PixelTransform, bk as PosterizeParams, bl as ProofSetup, bm as PsdChannel, bn as PsdExportInput, P as PsdExportResult, bo as PsdFile, bp as PsdHeader, bq as PsdImportOptions, br as PsdImportResult, bs as PsdLayerMask, bt as PsdLayerRecord, bu as PsdLayerSummary, bv as PsdRect, bw as PsdResource, bx as PsdSmartFilter, by as PsdTaggedBlock, bz as PsdTreeNode, bA as RETOUCH_TOOLS, bB as RectAnnotation, bC as RemoveBackgroundHook, bD as RemoveBackgroundOptions, bE as RenderOptions, bF as RetouchStrokeInit, bG as RetouchTool, bH as SELECTION_MODES, bI as SELECTION_MODIFY_OPS, bJ as SHAPE_OPERATIONS, bK as SHAPE_RENDER_MARGIN, bL as SMART_RENDER_MARGIN, bM as SampleOptions, bN as SelectionChannel, bO as SelectionCommandOptions, bP as SelectionModifyOp, bQ as SerializeContext, bR as SerializedAdjustmentLayer, bS as SerializedAnnotationLayer, bT as SerializedColorMode, bU as SerializedColorProfile, bV as SerializedDeepPixels, bW as SerializedGroupLayer, S as SerializedLayer, bX as SerializedLayerEffects, bY as SerializedLayeredImageEditorState, bZ as SerializedPattern, b_ as SerializedPixelLayer, b$ as SerializedRasterMask, c0 as SerializedSelection, c1 as SerializedShapeLayer, c2 as SerializedSmartContents, c3 as SerializedSmartFilter, c4 as SerializedSmartObjectLayer, c5 as SerializedTypeLayer, c6 as ShapeArrowhead, c7 as ShapeComponent, c8 as ShapeEnv, c9 as ShapeFillRule, ca as ShapeGeometryInput, cb as ShapeLayerData, cc as ShapeLayerInfo, cd as ShapeLayerInit, ce as ShapeLineCap, cf as ShapeLineJoin, cg as ShapeOperation, ch as ShapePaint, ci as ShapePsdData, cj as ShapeSelectionOptions, ck as ShapeStroke, cl as ShapeStrokeAlign, cm as ShapeStrokeInput, cn as SmartCanvas, co as SmartContents, cp as SmartDocument, cq as SmartEffectResolver, cr as SmartFilterKind, cs as SmartFilterStack, ct as SmartObjectInfo, cu as SmartObjectLayer, cv as SmartPlacement, cw as SmartPsdData, cx as SmartRenderOptions, cy as StrokeInit, cz as StrokeTool, cA as TEXT_RENDER_MARGIN, cB as TEXT_STYLE_FIELDS, cC as TONE_RANGE_PRESETS, cD as TRANSFORM_ANCHORS, cE as TextAnnotation, cF as TextLayerInit, cG as ThresholdParams, cH as ToneRangePreset, cI as TransformParams, cJ as TransformReadout, cK as TypeLayerData, cL as TypePsdData, cM as VibranceParams, cN as ViewportMetrics, cO as activeEffectSmartFilters, cP as activeSmartFilters, cQ as addLayerEffect, cR as addLayerFilter, cS as addSmartFilter, cT as adjustmentNodeAsLayer, cU as anchorPoint, cV as annotationBlend, cW as annotationOfShape, cX as annotationOfType, cY as applyImageProjectionToContext, cZ as applyParams, c_ as applySmartFilters, c$ as blurFilter, d0 as borderCoverage, d1 as boxMean, d2 as boxPointOf, d3 as buildLayerMaskPlanes, d4 as calculateCropDrag, d5 as canvasToImagePoint, d6 as checkImageEffectPlace, d7 as clampCropToImage, d8 as colorModePlanes, d9 as colorModePlanes16, da as colorRange, db as combineSelections, dc as componentPath, dd as compositeDeep, de as computeHistogram, df as computeSelectionBounds, dg as contentsBox, dh as contentsSurface, di as contractCoverage, dj as convertColorFields, dk as convertHex, dl as convertSurfaceColors, dm as convertToSmartObject, dn as copySmartObject, dp as cornersFromMatrix, dq as coverageToByte, dr as createSelectionMask, ds as createShapeLayer, dt as createTypeLayer, du as decodeDeepSurface, dv as decodeLayerChannel, dw as decodeLayerMask, dx as decodeMergedImage, dy as decodePngDataUrl, dz as decodeSelectionRle, dA as defaultShapeName, dB as depthMaskAlpha, dC as describeTransform, dD as deserializeColorMode, dE as deserializeColorProfile, dF as deserializeEffects, dG as deserializeLayer, dH as deserializeLayers, dI as deserializePatterns, dJ as deserializeSelection, dK as developFilter, dL as displayTransform, dM as distanceTransform, dN as documentContents, dO as documentProfile, dP as duplicateLayer, dQ as edgeWidth, dR as effectPixelsToSurface, dS as effectiveProof, dT as ellipsePoints, dU as ellipseSelection, dV as encodeDeepSurface, dW as encodeSelectionRle, dX as encodeSurface, dY as expandCoverage, dZ as exportPsd, d_ as featherCoverage, d$ as filterMaskCoverage, e0 as flipCorners, e1 as fullSelection, e2 as geometryHomography, e3 as getAnnotationBounds, e4 as getCropCursor, e5 as getRotatedSize, e6 as getViewportMetrics, e7 as getViewportProjection, e8 as globalImageCache, e9 as greyMorphology, ea as groupLayers, eb as guidePlanes, ec as guidedFilterColor, ed as hasSurface, ee as hasWarp, ef as hashMaskContent, eg as histogramPath, eh as hitTestAnnotation, ei as hitTestCrop, ej as hueRange, ek as identityTransform, el as imageToCanvasPoint, em as importPsd, en as instancesOf, eo as invertSelection, ep as isActiveFilter, eq as isContentsDecoded, er as isIdentityTransform, es as isQuarterTurnSwapped, et as isRenderedLayer, eu as isRetouchTool, ev as isSelectionEmpty, ew as isSelectionMode, ex as isSmartSurfaceIncomplete, ey as isSpatialFilter, ez as isSrgb, eA as isTransformAnchor, eB as isValidWarp, eC as layerEffectsOf, eD as layerMaskCoverage, eE as layerMaskFromSelection, eF as layerMaskKey, eG as layerName, eH as layerTree, eI as layerTypeLabel, eJ as liveComponent, eK as liveShapeSubpaths, eL as magicWand, eM as mapCropHandle, eN as mapSubpaths, eO as matrixFromCorners, eP as matrixFromParams, eQ as mergeShapeComponents, eR as migrateSerializedImageEditorState, eS as migrateToLayeredState, eT as modifySelection, eU as moveLayer, eV as moveSmartFilter, eW as newContentsId, eX as newLayerId, eY as normalizeAngle, eZ as normalizeFilter, e_ as normalizeLayerMask, e$ as normalizeLiveShape, f0 as normalizePlacement, f1 as normalizeRect, f2 as normalizeRefineEdgeParams, f3 as normalizeShapePaint, f4 as normalizeShapeStroke, f5 as normalizeSmartFilter, f6 as normalizeStoredAdjustments, f7 as normalizeSubpaths, f8 as normalizeText, f9 as offsetLayer, fa as offsetShape, fb as offsetSmartObject, fc as parseBlend, fd as parseColor, fe as parseSelectionMode, ff as patchParagraphStyle, fg as patchTextStyle, fh as pixelLayerBounds, fi as pixelLayers, fj as placeContents, fk as placeLayer, fl as placementAt, fm as placementBounds, fn as placementGeometry, fo as polygonCoverage, fp as polygonSelection, fq as presetWarp, fr as previewStep, fs as profileBytes, ft as projectImagePoint, fu as projectImageRect, fv as projectMaskCoverage, fw as psdToLayers, fx as rasterContents, fy as rasterizeSmartObject, fz as readPsd, fA as rectSelection, fB as referencePoint, fC as refineCoverage, fD as refineEdgeHalo, fE as refineSelection, fF as removeLayer, fG as removeLayerEffect, fH as removeLayerFilter, fI as removeSmartFilter, fJ as renderShape, fK as renderShapeRect, fL as renderSmartObject, fM as renderText, fN as replaceContents, fO as replaceTextRange, fP as requireLayer, fQ as requireOperation, fR as requireShapeLayer, fS as requireSmartObject, fT as requireTypeLayer, fU as requireUnlocked, fV as rerender, fW as rerenderShape, fX as rerenderText, fY as resizePixels, fZ as resizeSelection, f_ as resolveExternalAssets, f$ as resolveProfile, g0 as runLayerFilters, g1 as runLayerFiltersFloat, g2 as selectionArea, g3 as selectionFromCoverage, g4 as selectionFromPixels, g5 as selectionToCoverage, g6 as selectionToPixels, g7 as selectionValueAt, g8 as serializeColorMode, g9 as serializeColorProfile, ga as serializeContents, gb as serializeEffects, gc as serializeLayer, gd as serializeLayers, ge as serializeLayersExternal, gf as serializePatterns, gg as serializeSelection, gh as setLayerEffects, gi as setLayerEffectsEnabled, gj as setLayerMask, gk as setLayerProperties, gl as setSmartFilterMask, gm as setSmartFiltersEnabled, gn as setSmartPlacement, go as shapeAsPixelLayer, gp as shapeFromAnnotation, gq as shapeGeometryBounds, gr as shapeLayers, gs as shapeOutline, gt as shapeRenderClip, gu as shiftCoverage, gv as smartObjectLayers, gw as smoothCoverage, gx as srgb8ToLab, gy as textMatrix, gz as textOutlines, gA as textRange, gB as toHex, gC as toTextSpace, gD as toneRange, gE as transformHomography, gF as transformMap, gG as transformShapeComponents, gH as transformTypeLayer, gI as transformedBox, gJ as transformedPoint, gK as typeAsPixelLayer, gL as typeFrame, gM as typeFromAnnotation, gN as typeLayerName, gO as ungroupLayer, gP as unionRect, gQ as unprojectCanvasPoint, gR as updateLayerEffect, gS as updateLayerFilter, gT as updateLayerMaskProps, gU as updateShapeLayer, gV as updateSmartFilter, gW as updateTypeLayer, gX as withFilterMaskSurface, gY as withNewIds, gZ as writePsd } from '../export-AZSwX087.cjs';
|
|
3
3
|
import { b as LoadReport, J as JsonObject, f as MigrationStep } from '../migrate-iTlm3a8h.cjs';
|
|
4
4
|
import { a as BlendMode } from '../surface-1MRncXpF.cjs';
|
|
5
5
|
export { B as BLEND_MODES, b as BlendModeInfo, M as MaskSurface, P as PAINTERLY_BLEND_MODES, Z as PIGMENT_BANDS, _ as PIGMENT_LAMBDA_MIN, $ as PIGMENT_LAMBDA_STEP, a0 as PIGMENT_WAVELENGTHS, Y as Pigment, a1 as PigmentOptions, a2 as PigmentRgb, c as PixelSurface, R as RasterRect, d as Rgb, e as Rgba, S as SHADOW_AMBIENT, f as SurfaceDraft, g as TILE, h as TILE_SHIFT, i as Tile, j as TileKey, T 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, a3 as createPigment, s as emptySurface, t as fillRect, u as finishTile, v as isBlendMode, w as isPainterlyBlendMode, x as isSeparableBlendMode, a4 as lerpPigment, a5 as lerpPigmentInto, y as mixPigment8, z as mixPigmentRgb, a6 as mixPigments, A as normalizeBlendMode, C as packRgba, D as pigment8, E as readPixel, F as readRegion, a7 as reflectanceToRgb, a8 as rgbToReflectance, G as setLum, a9 as setPigmentColor, 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-1MRncXpF.cjs';
|
|
@@ -12,8 +12,8 @@ export { C as CanvasTextShaperOptions, O as OpenTypeFont, a as OutlineFontEntry,
|
|
|
12
12
|
import { f as TextAlign, d as TextStyle, c as ParagraphStyle } from '../warp-Ceqdz7kj.cjs';
|
|
13
13
|
export { D as DEFAULT_AUTO_LEADING, g as DEFAULT_TEXT_STYLE, h as LaidChar, L as LaidFragment, i as LaidLine, P as ParagraphRun, j as TEXT_ALIGNS, a as TextFont, e as TextLayout, b as TextRun, T as TextShaper, k as WARP_STYLES, l as WARP_STYLE_LABELS, W as WarpPreset, m as caretAt, n as dragWarpMeshPoint, o as evalWarpMesh, p as fitParagraphRuns, q as fitRuns, r as fontOf, s as identityWarpMesh, t as layoutText, u as paragraphRanges, v as pullWarpMesh, w as resizeWarpMesh, x as restyleRange, y as spliceRuns, z as styleAt, A as textIndexAt, B as warpMeshEditPoints, C as warpMeshGridCurves, E as warpMeshParamAt, F as warpPresetMesh } from '../warp-Ceqdz7kj.cjs';
|
|
14
14
|
import { B as BezierPath } from '../bezier-J8i4uqSH.cjs';
|
|
15
|
-
import { a as MixerLoad, M as MixerSettings } from '../rand-
|
|
16
|
-
export {
|
|
15
|
+
import { a as MixerLoad, M as MixerSettings } from '../rand-DOH_aMvm.cjs';
|
|
16
|
+
export { av as BlenderScratch, l as BlenderSettings, B as BrushSettings, C as CloneTransform, g as CoverageMap, aw as DEFAULT_BLENDER, ax as DEFAULT_BRUSH, w as DEFAULT_FLOW, ay as DEFAULT_MIXER, x as DEFAULT_PAINT_GRADIENT, y as DEFAULT_PAINT_GRADIENT_MAPPING, az as DEFAULT_RETOUCH, aA as DEFAULT_SMUDGE, aB as DEFAULT_WET_PAPER, z as DEFAULT_WET_PARAMS, aC as DRY_EPS, D as Dab, aD as DabWalker, aE as EMPTY_MIXER_LOAD, aF as EX, aG as EY, aH as ExchangeRates, aI as FLAG_ALIVE, aJ as FLAG_BOTTOM, aK as FLAG_LEFT, aL as FLAG_RIGHT, aM as FLAG_TOP, aN as FLAG_WET, aO as FLAT, aP as FREE_INTERVAL, aQ as IDENTITY_CLONE_TRANSFORM, aR as MAX_BATCH, A as MAX_BRUSH_SIZE, aS as MAX_TILT_ACCEL, aT as MAX_WET_LANES, aU as MAX_WET_SLOTS, aV as MIXER_DRAIN, aW as MIXER_PICKUP_RATE, aX as MIXING_MODELS, c as MixerStroke, b as MixerTarget, k as MixingModel, aY as OPP, E as PAINT_COLOR_JSON_SCHEMA, F as PAINT_GRADIENT_FULL_SPEED, G as PAINT_GRADIENT_JSON_SCHEMA, H as PAINT_GRADIENT_KIT, I as PAINT_GRADIENT_MAPPINGS, J as PAINT_GRADIENT_MAPPING_LABELS, K as PAINT_GRADIENT_PRESETS, L as PAINT_GRADIENT_REPEATS, N as PAINT_GRADIENT_REPEAT_LABELS, O as PAINT_GRADIENT_SPACES, Q as PAINT_GRADIENT_SPACE_LABELS, U as PAINT_SOURCE_JSON_SCHEMA, aZ as PAPER_CAPACITY, a_ as PARAM, a$ as PARAM_FLOATS, b0 as PIGMENT_CHANNELS, b1 as PLANE, b2 as PLANE_BYTES, b3 as P_D0, b4 as P_EDGE, b5 as P_FX, b6 as P_FY, b7 as P_H, b8 as P_P0, b9 as P_RHO, ba as P_SW, bb as P_UX, bc as P_UY, V as PaintColorSource, X as PaintDabParams, bd as PaintExchange, Y as PaintGradientKit, Z as PaintGradientMapping, _ as PaintGradientMappingKind, $ as PaintGradientRepeat, a0 as PaintGradientSample, a1 as PaintGradientSampler, j as PaintGradientSource, a2 as PaintGradientSpace, a3 as PaintGradientStop, be as PaintMedium, bf as PaintPixels, a4 as PaintRgb, bg as PaintSample, P as PaintSource, a5 as PaintSourceError, h as PaintTileTarget, bh as PixelSource, bi as RETOUCH_SAMPLES, bj as RegionPixelSource, d as RetouchApply, bk as RetouchDabEffect, bl as RetouchDabStroke, f as RetouchPaint, bm as RetouchSample, R as RetouchSettings, q as RgbTriple, bn as SET_PLANES, bo as SLOT_BYTES, bp as SLOT_PLANES, bq as SLOT_SIDE, br as SPOT_HEAL_TYPES, bs as STRIP, bt as SmudgeDab, m as SmudgeSettings, bu as SmudgeTip, bv as SpotHealType, i as StrokeApply, S as StrokeCoverage, e as StrokePoint, bw as TIP_GRADIENT_STEPS, bx as TONE_RANGES, T as TileMedium, by as TileMediumOptions, bz as TilePixelSource, bA as ToneRange, bB as TransformedPixelSource, bC as U_MAX, bD as W9, a6 as WET_FLOW_KINDS, a7 as WET_PARAM_KEYS, bE as WET_TILE, t as WetBackendInfo, bF as WetFlowField, a8 as WetFlowKind, p as WetFlowSpec, bG as WetGpuEngine, bH as WetGpuJob, s as WetGpuProvider, bI as WetGpuSupport, bJ as WetKernelKind, bK as WetLaneOptions, bL as WetLaneStats, bM as WetPaper, v as WetPaperInput, o as WetParams, u as WetSnapshot, a9 as WetSupport, n as WetTilt, bN as WetWorkerLayout, bO as WetWorkerPool, W as WetWorld, bP as WetWorldError, r as WetWorldOptions, aa as addPaintGradientStop, bQ as applyRetouchToTile, bR as applyStrokeToDeepTile, bS as applyStrokeToTile, bT as applyToneToDeepTile, bU as blendRadius, bV as blenderDab, bW as boxBlurPixels, bX as canShareMemory, bY as cleanMixer, bZ as cloneSamplePoint, b_ as coverageTileCoord, b$ as createBlenderScratch, c0 as createWetGpuEngine, c1 as dabCoverage, c2 as dabRect, c3 as dodgeBurn, c4 as dodgeBurnCurve, c5 as dsincos, c6 as edgeBits, c7 as exchangeRates, c8 as findWebGpu, c9 as flowField, ca as gradientDabColor, ab as hash2, cb as healPixels, ac as hexToPaintRgb, ad as isGradientPaint, cc as isIdentityCloneTransform, cd as latticeViscosity, ce as loadMixer, cf as loadWetKernel, cg as luma, ae as mix32, ch as mixerRates, ci as normalizeBlender, cj as normalizeBrush, af as normalizeFlow, ag as normalizeHexColor, ck as normalizeMixer, cl as normalizeRetouch, cm as normalizeSmudge, cn as normalizeTilt, ah as normalizeWetParams, co as packWetParams, ai as paintGradientMappingFor, aj as paintSourceColor, ak as paintSourceCss, al as parsePaintSource, cp as perDabStrength, cq as put255, am as rand01, cr as rasterizeDab, an as readPaintSource, cs as readSourceRegion, ao as removePaintGradientStop, ap as resolvePaintGradient, ct as retouchFilter, aq as reversePaintGradient, cu as rgbaViewOfGrey, cv as saturationOf, ar as scalePaintGradient, cw as smoothPoints, cx as smudgeEffect, as as solidPaint, cy as sponge, cz as spongeEffect, cA as spotHealPixels, cB as spotHealWindow, cC as tipFalloff, cD as tipReach, cE as tipShape, cF as toneOf, at as updatePaintGradientStop, cG as walkDabs, cH as wetGpuSupport, cI as wetSimdSupported, au as wetSupport } from '../rand-DOH_aMvm.cjs';
|
|
17
17
|
export { BODY_SCATTER, BrushstrokeBrush, BrushstrokeCache, BrushstrokeCanvasLike, BrushstrokeImage, BrushstrokeInput, BrushstrokeOptions, BrushstrokePaint, BrushstrokeProfilePath, BrushstrokeSample, HIDE, PIGMENT_UNIT, PaintPathOptions, PathSample, PathStrokeOptions, PathStrokePaint, PointerEventLike, PointerStrokeSample, SRGB_TO_LINEAR, WGSL_HALO, WGSL_SHADE, WGSL_STEP, WetMedium, WetMediumOptions, bestOffset, brushstrokeDataUrl, brushstrokeKey, brushstrokeSamples, brushstrokeStrokeOptions, brushstrokeToCanvas, contentAwareFill, createPigmentTools, dexp, dilateMask, dlog, dpow, expNeg, filmPixel, filmReflectance, isBrushstrokeBrush, linearToSrgb8, maskBounds, membraneFill, paintPathStroke, pathStrokeCoverage, pathStrokeDabs, pigmentColor, pigmentOf, pixelPigment, pointerPressure, pointerStrokeSample, pointerStrokeSamples, renderBrushstroke, seamlessClone, shadeTile, solveMembrane, srgbByteToLinear, stepSlotTs } from '../paint/index.cjs';
|
|
18
18
|
import { j as Intent, b as BuiltinProfileId } from '../builtin-CY97ppKM.cjs';
|
|
19
19
|
export { a as BUILTIN_PROFILES, i as INTENTS } from '../builtin-CY97ppKM.cjs';
|
|
@@ -1415,6 +1415,21 @@ declare const RETOUCH_OPTION_CONTROLS: readonly (ControlSpec & {
|
|
|
1415
1415
|
id: 'exposure' | 'strength' | 'historySteps';
|
|
1416
1416
|
tools: readonly PaintTool[];
|
|
1417
1417
|
})[];
|
|
1418
|
+
/** The Clone Source panel's sliders (Clone Stamp and Healing Brush): width and height in percent, angle in degrees. */
|
|
1419
|
+
declare const CLONE_TRANSFORM_CONTROLS: readonly (ControlSpec & {
|
|
1420
|
+
id: 'width' | 'height' | 'angle';
|
|
1421
|
+
})[];
|
|
1422
|
+
/** The clone transform as the panel shows it: width / height in percent, angle in degrees, flips. */
|
|
1423
|
+
declare function cloneTransformView(controller: ImageEditorController): {
|
|
1424
|
+
width: number;
|
|
1425
|
+
height: number;
|
|
1426
|
+
angle: number;
|
|
1427
|
+
flipH: boolean;
|
|
1428
|
+
flipV: boolean;
|
|
1429
|
+
identity: boolean;
|
|
1430
|
+
};
|
|
1431
|
+
/** Sets one Clone Source panel value (`width` / `height` in percent keep the flip; `angle` in degrees; `flipH` / `flipV` toggle). */
|
|
1432
|
+
declare function setCloneTransformValue(controller: ImageEditorController, id: 'width' | 'height' | 'angle' | 'flipH' | 'flipV', value?: number): void;
|
|
1418
1433
|
/** Retouch choices, each a row of toggle buttons, with the tools that show it. */
|
|
1419
1434
|
declare const RETOUCH_CHOICES: readonly {
|
|
1420
1435
|
id: 'sample' | 'spotType' | 'range' | 'spongeMode';
|
|
@@ -1983,4 +1998,4 @@ declare function imageLayerAppliedEffects(layer: ImageLayer): AppliedEffectInfo[
|
|
|
1983
1998
|
/** The effect tools for an image editor (see the module comment). */
|
|
1984
1999
|
declare function createImageEffectsToolProvider(controller: ImageEditorController, options?: ImageEffectsToolProviderOptions): AgentToolProvider;
|
|
1985
2000
|
|
|
1986
|
-
export { ADJUSTMENT_KEYS, ADJUSTMENT_KINDS, ADJUSTMENT_LAYER_CONTROLS, ADJUSTMENT_LAYER_OPACITY_CONTROL, ADJUSTMENT_LUT_SIZE, AS_SHOT_KELVIN, AdjustmentKind, type AdjustmentKindInfo, AdjustmentLayer, AdjustmentLayerMask, AdjustmentLayerNode, AdjustmentLayerOf, AdjustmentParamsMap, Annotation, AnnotationLayer, BACKGROUND_LAYER_ID, BACKGROUND_LAYER_NAME, BIT_DEPTH_OPTIONS, BLUR_FILTER_ID, BRUSH_OPTION_CONTROLS, BlendMode, BuiltinProfileId, COLOR_MODE_OPTIONS, type Chromaticity, ColorDistance, CompositorSources, type ControlSection, type ControlSpec, type ControlTrack, type CoverageFillRule, CropBox, CurvePoint, D50, D65, DEFAULT_SELECTION_TOOL_OPTIONS, DEFAULT_SHAPE_TOOL_OPTIONS, DEFAULT_TYPE_TOOL_OPTIONS, DEPTH_MASK_CONTROLS, DEVELOP_FILTER_ID, DepthMaskOptions, type DescValue, type Descriptor, DevelopFilter, type DropZone, type EffectControl, EffectPattern, FREE_TRANSFORM_FIELDS, FREE_TRANSFORM_MODE_OPTIONS, type FlatPath, type FreeTransformBar, type FreeTransformField, FreeTransformInit, FreeTransformMode, FreeTransformResult, FreeTransformSession, FreeTransformTool, type FreeTransformToolOptions, type GestureModifiers, HUE_RANGE_LABELS, HueRange, IDENTITY_MATRIX3, IMAGE_ADJUSTMENT_CONTROLS, IMAGE_CROP_PRESETS, IMAGE_EDITOR_STATE_VERSION, IMAGE_FILTER_PRESETS, INTENT_OPTIONS, ImageAdjustments, type ImageCropPreset, ImageEditorController, type ImageEditorDocumentLoad, type ImageEditorToolProviderOptions, type ImageEffectsToolProviderOptions, type ImageFilterPreset, ImageHistogram, ImageLayer, ImagePoint, type ImageProcessVersion, ImageProjection, ImageTransform, Intent, Interpolation, LATEST_PROCESS_VERSION, LAYER_EFFECT_MENU, LEGACY_PROCESS_VERSION, LUMA_709, LayerCompositor, LayerEffect, LayerEffectKind, type LayerEffectRow, LayerEffects, type LayerEffectsPanelModel, LayerFilter, type LayerMenuAction, type LayerMenuItem, type LayerPanelRow, LayerPlacement, type LayerStack, type LegacyParts, type LegacyViewResult, LevelsChannel, LiveShapeKind, MAX_KELVIN, MIN_KELVIN, MIRED_PER_TEMPERATURE_UNIT, MIXER_MIXING_OPTIONS, MIXER_OPTION_CONTROLS, type Matrix3, MixerLoad, MixerSettings, type MosaicImageDataLike, type MosaicRegion, type NormalizedLayerItem, PAINT_TOOLS, PATTERN_BLOCK_KEYS, PROOF_PROFILE_OPTIONS, PSD_FILE_ACCEPT, PaintGesture, type PaintPointerSample, type PaintTool, ParagraphStyle, type ParsedAdjustment, type ParsedLayerEffects, PixelLayer, type PixelOp, type PlaneLayout, PsdError, type PsdPattern, Quad, type QuickMaskStyle, REFINE_EDGE_CONTROLS, RETOUCH_CHOICES, RETOUCH_OPTION_CONTROLS, RETOUCH_TOGGLES, RasterMask, type ReferenceItem, type RefineEdgeControl, RefineEdgeParams, type RouteInput, SELECTION_MODE_LABELS, SELECTION_TOOLS, SHAPE_KIND_LABELS, SUPPORTED_ADJUSTMENT_KEYS, SelectionGesture, SelectionMask, SelectionMode, type SelectionToolKind, type SelectionToolOptions, SerializedImageEditorState, ShapeDrawGesture, ShapeLayer, type ShapeToolOptions, type ShortcutEvent, SmartFilter, type SmartFilterRow, TINT_SCALE, TONE_LUT_SIZE, TextAlign, TextEditSession, TextEnv, type TextKey, TextStyle, TransformAnchor, type TransformHandle, type TransformModifiers, type TransformOverlay, TypeLayer, TypeLayerInfo, TypeToolGesture, type TypeToolOptions, type UnitLevels, VIBRANCE_GREY, Vec2, WARP_GRID_OPTIONS, WARP_STYLE_OPTIONS, WORKING_SPACE_OPTIONS, type WarpBar, WarpMesh, WarpStyle, XYZ_D50_TO_SRGB, activeAdjustmentLayers, addToHistogram, adjustmentKindLabel, adjustmentLayersKey, adjustmentNodeFromLegacy, annotationLayerFor, annotationLayerName, annotationOfLayer, applyAdjustmentLayers, applyAdjustmentLayersFloat, applyAdjustments, applyBoxBlur, applyBoxBlurFloat, applyDepthMask, applyLegacyAdjustments, applyLegacyFloat, applyMatrix3, applyOutputStage, applyProcess2Adjustments, applyProcess2Float, applyRegionBlur, applyRegionMosaic, applyShapeOptions, backgroundLayer, baseProjection, blackWhiteGray, boxToCurvePoint, bradfordAdaptation, buildToneLut, clampControlValue, cloneSourceLabel, colorBalanceChannel, colorPanelView, compileAdjustmentLayer, controlPosition, controlTrackBackground, coveringRect, createAdjustmentLayer, createImageCaptureSurface, createImageColorTools, createImageEditTools, createImageEditorToolProvider, createImageEffectTools, createImageEffectsToolProvider, createImageLayerTools, createImagePaintTools, createImagePsdTools, createImageRetouchTools, createImageSelectionTools, createImageShapeTools, createImageSmartObjectTools, createImageTransformTools, createImageTypeTools, curveLutFromLevels, curvePointToBox, curveSvgPath, decodePlanes, defaultAdjustmentParams, depthRasterMask, describeLayer, describeLayerEffects, describeSelection, developFromAdjustments, developTarget, downloadPsd, dropPlacement, dropZone, effectControlChange, emptyHistogram, encodeRle, evaluateAdjustmentLayers, extractNormalizedLayerItems, findAdjustmentControl, findLayerControl, flattenPath, formatControlValue, getControlPath, handlePaintShortcut, hasResampledLegacyMask, hexToRgb, hitTestCurvePoint, hslToRgb, hueRangeTables, hueRangeWeight, hueSaturation, identityCurve, identityLevels, imageEditorStateMigrations, imageLayerAppliedEffects, insertCurvePoint, invertMatrix3, isAdjustmentKind, isDefaultDepthMask, isLegacyShape, isPaintTool, isQuarterTurn, isRetouchPaintTool, kelvinToTemperature, layerBadge, layerEffectControls, layerEffectsBadge, layerEffectsPanel, layerHasThumbnail, layerLabel, layerMenu, layerPanelRows, layerWarning, layersFromLegacy, legacyAdjustmentLayer, legacyMaskOf, legacyView, levelsValue, linearSrgbToXy, linearToSrgb, liveShapeForDrag, loadImageEditorDocument, maskSummary, mixerLoadResult, moveCurvePoint, mulMatrix3, needsLegacyBase, neutralHueRange, normalizeAdjustmentLayer, normalizeAdjustmentLayers, normalizeProcessVersion, openPsdFile, parseAdjustmentBlock, parseCssColor, parseLfx2, parseLrfx, parsePatternBlock, parseVersionedDescriptor, photoFilterMatrix, posterizeValue, projectQuarterTurn, psdBytesFromBase64, psdFileName, psdPatternToEffectPattern, quickMaskPixels, rangeLightness, rasterMaskFromLegacy, rasterizeCoverage, readAdjustmentControls, removeAlpha, removeCurvePoint, renderLayeredBase, resolveMosaicRegionBounds, rgbToGray, rgbToHsl, rgbUnitToHex, runLayerMenuAction, sampleLut, sampleToneLut, selectionModeFromModifiers, selectionOutline, setControlPath, setRetouchChoice, smartFilterRows, splitOverlayAnnotations, srgbToLinear, sumHistograms, tempTintToXy, temperatureToKelvin, toneCurve, toneLuts, typeLayerAt, uvToXy, versionedDescriptorBytes, vibranceLinear, vibrancePixel, wbMatrix, whiteBalanceFromSample, whiteBalanceMatrix, writeAdjustmentBlock, writeLfx2, writePatternBlock, xyToTempTint, xyToUv };
|
|
2001
|
+
export { ADJUSTMENT_KEYS, ADJUSTMENT_KINDS, ADJUSTMENT_LAYER_CONTROLS, ADJUSTMENT_LAYER_OPACITY_CONTROL, ADJUSTMENT_LUT_SIZE, AS_SHOT_KELVIN, AdjustmentKind, type AdjustmentKindInfo, AdjustmentLayer, AdjustmentLayerMask, AdjustmentLayerNode, AdjustmentLayerOf, AdjustmentParamsMap, Annotation, AnnotationLayer, BACKGROUND_LAYER_ID, BACKGROUND_LAYER_NAME, BIT_DEPTH_OPTIONS, BLUR_FILTER_ID, BRUSH_OPTION_CONTROLS, BlendMode, BuiltinProfileId, CLONE_TRANSFORM_CONTROLS, COLOR_MODE_OPTIONS, type Chromaticity, ColorDistance, CompositorSources, type ControlSection, type ControlSpec, type ControlTrack, type CoverageFillRule, CropBox, CurvePoint, D50, D65, DEFAULT_SELECTION_TOOL_OPTIONS, DEFAULT_SHAPE_TOOL_OPTIONS, DEFAULT_TYPE_TOOL_OPTIONS, DEPTH_MASK_CONTROLS, DEVELOP_FILTER_ID, DepthMaskOptions, type DescValue, type Descriptor, DevelopFilter, type DropZone, type EffectControl, EffectPattern, FREE_TRANSFORM_FIELDS, FREE_TRANSFORM_MODE_OPTIONS, type FlatPath, type FreeTransformBar, type FreeTransformField, FreeTransformInit, FreeTransformMode, FreeTransformResult, FreeTransformSession, FreeTransformTool, type FreeTransformToolOptions, type GestureModifiers, HUE_RANGE_LABELS, HueRange, IDENTITY_MATRIX3, IMAGE_ADJUSTMENT_CONTROLS, IMAGE_CROP_PRESETS, IMAGE_EDITOR_STATE_VERSION, IMAGE_FILTER_PRESETS, INTENT_OPTIONS, ImageAdjustments, type ImageCropPreset, ImageEditorController, type ImageEditorDocumentLoad, type ImageEditorToolProviderOptions, type ImageEffectsToolProviderOptions, type ImageFilterPreset, ImageHistogram, ImageLayer, ImagePoint, type ImageProcessVersion, ImageProjection, ImageTransform, Intent, Interpolation, LATEST_PROCESS_VERSION, LAYER_EFFECT_MENU, LEGACY_PROCESS_VERSION, LUMA_709, LayerCompositor, LayerEffect, LayerEffectKind, type LayerEffectRow, LayerEffects, type LayerEffectsPanelModel, LayerFilter, type LayerMenuAction, type LayerMenuItem, type LayerPanelRow, LayerPlacement, type LayerStack, type LegacyParts, type LegacyViewResult, LevelsChannel, LiveShapeKind, MAX_KELVIN, MIN_KELVIN, MIRED_PER_TEMPERATURE_UNIT, MIXER_MIXING_OPTIONS, MIXER_OPTION_CONTROLS, type Matrix3, MixerLoad, MixerSettings, type MosaicImageDataLike, type MosaicRegion, type NormalizedLayerItem, PAINT_TOOLS, PATTERN_BLOCK_KEYS, PROOF_PROFILE_OPTIONS, PSD_FILE_ACCEPT, PaintGesture, type PaintPointerSample, type PaintTool, ParagraphStyle, type ParsedAdjustment, type ParsedLayerEffects, PixelLayer, type PixelOp, type PlaneLayout, PsdError, type PsdPattern, Quad, type QuickMaskStyle, REFINE_EDGE_CONTROLS, RETOUCH_CHOICES, RETOUCH_OPTION_CONTROLS, RETOUCH_TOGGLES, RasterMask, type ReferenceItem, type RefineEdgeControl, RefineEdgeParams, type RouteInput, SELECTION_MODE_LABELS, SELECTION_TOOLS, SHAPE_KIND_LABELS, SUPPORTED_ADJUSTMENT_KEYS, SelectionGesture, SelectionMask, SelectionMode, type SelectionToolKind, type SelectionToolOptions, SerializedImageEditorState, ShapeDrawGesture, ShapeLayer, type ShapeToolOptions, type ShortcutEvent, SmartFilter, type SmartFilterRow, TINT_SCALE, TONE_LUT_SIZE, TextAlign, TextEditSession, TextEnv, type TextKey, TextStyle, TransformAnchor, type TransformHandle, type TransformModifiers, type TransformOverlay, TypeLayer, TypeLayerInfo, TypeToolGesture, type TypeToolOptions, type UnitLevels, VIBRANCE_GREY, Vec2, WARP_GRID_OPTIONS, WARP_STYLE_OPTIONS, WORKING_SPACE_OPTIONS, type WarpBar, WarpMesh, WarpStyle, XYZ_D50_TO_SRGB, activeAdjustmentLayers, addToHistogram, adjustmentKindLabel, adjustmentLayersKey, adjustmentNodeFromLegacy, annotationLayerFor, annotationLayerName, annotationOfLayer, applyAdjustmentLayers, applyAdjustmentLayersFloat, applyAdjustments, applyBoxBlur, applyBoxBlurFloat, applyDepthMask, applyLegacyAdjustments, applyLegacyFloat, applyMatrix3, applyOutputStage, applyProcess2Adjustments, applyProcess2Float, applyRegionBlur, applyRegionMosaic, applyShapeOptions, backgroundLayer, baseProjection, blackWhiteGray, boxToCurvePoint, bradfordAdaptation, buildToneLut, clampControlValue, cloneSourceLabel, cloneTransformView, colorBalanceChannel, colorPanelView, compileAdjustmentLayer, controlPosition, controlTrackBackground, coveringRect, createAdjustmentLayer, createImageCaptureSurface, createImageColorTools, createImageEditTools, createImageEditorToolProvider, createImageEffectTools, createImageEffectsToolProvider, createImageLayerTools, createImagePaintTools, createImagePsdTools, createImageRetouchTools, createImageSelectionTools, createImageShapeTools, createImageSmartObjectTools, createImageTransformTools, createImageTypeTools, curveLutFromLevels, curvePointToBox, curveSvgPath, decodePlanes, defaultAdjustmentParams, depthRasterMask, describeLayer, describeLayerEffects, describeSelection, developFromAdjustments, developTarget, downloadPsd, dropPlacement, dropZone, effectControlChange, emptyHistogram, encodeRle, evaluateAdjustmentLayers, extractNormalizedLayerItems, findAdjustmentControl, findLayerControl, flattenPath, formatControlValue, getControlPath, handlePaintShortcut, hasResampledLegacyMask, hexToRgb, hitTestCurvePoint, hslToRgb, hueRangeTables, hueRangeWeight, hueSaturation, identityCurve, identityLevels, imageEditorStateMigrations, imageLayerAppliedEffects, insertCurvePoint, invertMatrix3, isAdjustmentKind, isDefaultDepthMask, isLegacyShape, isPaintTool, isQuarterTurn, isRetouchPaintTool, kelvinToTemperature, layerBadge, layerEffectControls, layerEffectsBadge, layerEffectsPanel, layerHasThumbnail, layerLabel, layerMenu, layerPanelRows, layerWarning, layersFromLegacy, legacyAdjustmentLayer, legacyMaskOf, legacyView, levelsValue, linearSrgbToXy, linearToSrgb, liveShapeForDrag, loadImageEditorDocument, maskSummary, mixerLoadResult, moveCurvePoint, mulMatrix3, needsLegacyBase, neutralHueRange, normalizeAdjustmentLayer, normalizeAdjustmentLayers, normalizeProcessVersion, openPsdFile, parseAdjustmentBlock, parseCssColor, parseLfx2, parseLrfx, parsePatternBlock, parseVersionedDescriptor, photoFilterMatrix, posterizeValue, projectQuarterTurn, psdBytesFromBase64, psdFileName, psdPatternToEffectPattern, quickMaskPixels, rangeLightness, rasterMaskFromLegacy, rasterizeCoverage, readAdjustmentControls, removeAlpha, removeCurvePoint, renderLayeredBase, resolveMosaicRegionBounds, rgbToGray, rgbToHsl, rgbUnitToHex, runLayerMenuAction, sampleLut, sampleToneLut, selectionModeFromModifiers, selectionOutline, setCloneTransformValue, setControlPath, setRetouchChoice, smartFilterRows, splitOverlayAnnotations, srgbToLinear, sumHistograms, tempTintToXy, temperatureToKelvin, toneCurve, toneLuts, typeLayerAt, uvToXy, versionedDescriptorBytes, vibranceLinear, vibrancePixel, wbMatrix, whiteBalanceFromSample, whiteBalanceMatrix, writeAdjustmentBlock, writeLfx2, writePatternBlock, xyToTempTint, xyToUv };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as ImageAdjustments, D as DepthMaskOptions, b as SerializedImageEditorState, A as AdjustmentKind, c as AdjustmentLayer, d as AdjustmentParamsMap, e as AdjustmentLayerMask, f as AdjustmentLayerOf, C as CurvePoint, H as HueRange, L as LevelsChannel, g as ImageEditorController, h as SelectionMask, i as SelectionMode, j as ColorDistance, R as RefineEdgeParams, k as ImagePoint, l as ImageLayer, m as CropBox, n as RasterMask, o as Annotation, p as AdjustmentLayerNode, T as TextEnv, q as AnnotationLayer, r as ShapeLayer, s as TypeLayer, t as LayerFilter, u as PixelLayer, v as DevelopFilter, w as ImageTransform, x as ImageHistogram, y as ImageProjection, z as CompositorSources, B as LayerCompositor, E as LiveShapeKind, F as TypeLayerInfo, G as SmartFilter, J as LayerPlacement, K as FreeTransformMode, M as FreeTransformResult, N as FreeTransformSession, O as FreeTransformInit, Q as TransformAnchor } from '../export-
|
|
2
|
-
export { U as AIResultOptions, V as AdjustmentLayerBase, W as AdjustmentLayerInit, X as AdjustmentLayerUpdate, Y as AnnotationPlacement, Z as AnnotationType, _ as ArrowAnnotation, $ as AspectRatio, a0 as BaseAnnotation, a1 as BlackWhiteParams, a2 as BlurFilter, a3 as CircleAnnotation, a4 as CloneSource, a5 as ColorBalanceParams, a6 as ColorBalanceTone, a7 as ColorRangeOptions, a8 as ColorRangeSample, a9 as ConvertOptions, aa as CreateAnnotationPayload, ab as CropHandle, ac as CurvesParams, ad as DEFAULT_ADJUSTMENTS, ae as DEFAULT_DEPTH_MASK, af as DEFAULT_MITER_LIMIT, ag as DEFAULT_PROOF, ah as DEFAULT_REFINE_EDGE_PARAMS, ai as DEFAULT_TRANSFORM, aj as DeserializeContext, ak as DevelopSettings, al as DocumentColorMode, am as DocumentColorProfile, an as EMPTY_DISTANCE, ao as EffectSmartFilter, ap as ExportOptions, aq as FREE_TRANSFORM_CONTENTS, ar as FREE_TRANSFORM_MODES, as as FillOptions, at as FreeTransformContent, au as FreeTransformGeometry, av as FreeTransformHost, aw as FreeTransformPreview, ax as GUIDED_FILTER_EPS, ay as GroupLayer, az as HISTOGRAM_BINS, aA as HistogramChannel, aB as HistoryEntryHandle, aC as HueSaturationParams, aD as IMAGE_EDITOR_SCHEMA_VERSION, aE as IMAGE_EFFECT_PLACES, aF as ImageAnnotation, aG as ImageDimensions, aH as ImageEditorAIHooks, I as ImageEditorAssetStore, aI as ImageEditorFit, aJ as ImageEditorOptions, aK as ImageEditorRenderer, aL as ImageEditorState, aM as ImageEditorTool, aN as ImageEffectGenerator, aO as ImageEffectPlace, aP as ImageEffectsEngine, aQ as ImageEffectsEngineOptions, aR as ImageLayerType, aS as InpaintHook, aT as InpaintOptions, aU as InvertParams, aV as LAYERED_SCHEMA_VERSION, aW as LIVE_SHAPE_KINDS, aX as LayerBase, aY as LayerBlendMode, aZ as LayerFilterKind, a_ as LayerLocation, a$ as LayerMaskProps, b0 as LayerOperationError, b1 as LayerProperties, b2 as LayerSourcesHost, b3 as LayerTarget, b4 as LegacySerializedImageEditorState, b5 as LevelsParams, b6 as LineAnnotation, b7 as LiveShape, b8 as MagicWandOptions, b9 as MixerStrokeInit, ba as PARAGRAPH_STYLE_FIELDS, bb as PSD_BLEND_KEYS, bc as PaintOptions, bd as PaintStrokeResult, be as PaintStrokeSession, bf as PenAnnotation, bg as PhotoFilterParams, bh as PixelBuffer, bi as PixelLayerInit, bj as PixelTransform, bk as PosterizeParams, bl as ProofSetup, bm as PsdChannel, bn as PsdExportInput, P as PsdExportResult, bo as PsdFile, bp as PsdHeader, bq as PsdImportOptions, br as PsdImportResult, bs as PsdLayerMask, bt as PsdLayerRecord, bu as PsdLayerSummary, bv as PsdRect, bw as PsdResource, bx as PsdSmartFilter, by as PsdTaggedBlock, bz as PsdTreeNode, bA as RETOUCH_TOOLS, bB as RectAnnotation, bC as RemoveBackgroundHook, bD as RemoveBackgroundOptions, bE as RenderOptions, bF as RetouchStrokeInit, bG as RetouchTool, bH as SELECTION_MODES, bI as SELECTION_MODIFY_OPS, bJ as SHAPE_OPERATIONS, bK as SHAPE_RENDER_MARGIN, bL as SMART_RENDER_MARGIN, bM as SampleOptions, bN as SelectionChannel, bO as SelectionCommandOptions, bP as SelectionModifyOp, bQ as SerializeContext, bR as SerializedAdjustmentLayer, bS as SerializedAnnotationLayer, bT as SerializedColorMode, bU as SerializedColorProfile, bV as SerializedDeepPixels, bW as SerializedGroupLayer, S as SerializedLayer, bX as SerializedLayerEffects, bY as SerializedLayeredImageEditorState, bZ as SerializedPattern, b_ as SerializedPixelLayer, b$ as SerializedRasterMask, c0 as SerializedSelection, c1 as SerializedShapeLayer, c2 as SerializedSmartContents, c3 as SerializedSmartFilter, c4 as SerializedSmartObjectLayer, c5 as SerializedTypeLayer, c6 as ShapeArrowhead, c7 as ShapeComponent, c8 as ShapeEnv, c9 as ShapeFillRule, ca as ShapeGeometryInput, cb as ShapeLayerData, cc as ShapeLayerInfo, cd as ShapeLayerInit, ce as ShapeLineCap, cf as ShapeLineJoin, cg as ShapeOperation, ch as ShapePaint, ci as ShapePsdData, cj as ShapeSelectionOptions, ck as ShapeStroke, cl as ShapeStrokeAlign, cm as ShapeStrokeInput, cn as SmartCanvas, co as SmartContents, cp as SmartDocument, cq as SmartEffectResolver, cr as SmartFilterKind, cs as SmartFilterStack, ct as SmartObjectInfo, cu as SmartObjectLayer, cv as SmartPlacement, cw as SmartPsdData, cx as SmartRenderOptions, cy as StrokeInit, cz as StrokeTool, cA as TEXT_RENDER_MARGIN, cB as TEXT_STYLE_FIELDS, cC as TONE_RANGE_PRESETS, cD as TRANSFORM_ANCHORS, cE as TextAnnotation, cF as TextLayerInit, cG as ThresholdParams, cH as ToneRangePreset, cI as TransformParams, cJ as TransformReadout, cK as TypeLayerData, cL as TypePsdData, cM as VibranceParams, cN as ViewportMetrics, cO as activeEffectSmartFilters, cP as activeSmartFilters, cQ as addLayerEffect, cR as addLayerFilter, cS as addSmartFilter, cT as adjustmentNodeAsLayer, cU as anchorPoint, cV as annotationBlend, cW as annotationOfShape, cX as annotationOfType, cY as applyImageProjectionToContext, cZ as applyParams, c_ as applySmartFilters, c$ as blurFilter, d0 as borderCoverage, d1 as boxMean, d2 as boxPointOf, d3 as buildLayerMaskPlanes, d4 as calculateCropDrag, d5 as canvasToImagePoint, d6 as checkImageEffectPlace, d7 as clampCropToImage, d8 as colorModePlanes, d9 as colorModePlanes16, da as colorRange, db as combineSelections, dc as componentPath, dd as compositeDeep, de as computeHistogram, df as computeSelectionBounds, dg as contentsBox, dh as contentsSurface, di as contractCoverage, dj as convertColorFields, dk as convertHex, dl as convertSurfaceColors, dm as convertToSmartObject, dn as copySmartObject, dp as cornersFromMatrix, dq as coverageToByte, dr as createSelectionMask, ds as createShapeLayer, dt as createTypeLayer, du as decodeDeepSurface, dv as decodeLayerChannel, dw as decodeLayerMask, dx as decodeMergedImage, dy as decodePngDataUrl, dz as decodeSelectionRle, dA as defaultShapeName, dB as depthMaskAlpha, dC as describeTransform, dD as deserializeColorMode, dE as deserializeColorProfile, dF as deserializeEffects, dG as deserializeLayer, dH as deserializeLayers, dI as deserializePatterns, dJ as deserializeSelection, dK as developFilter, dL as displayTransform, dM as distanceTransform, dN as documentContents, dO as documentProfile, dP as duplicateLayer, dQ as edgeWidth, dR as effectPixelsToSurface, dS as effectiveProof, dT as ellipsePoints, dU as ellipseSelection, dV as encodeDeepSurface, dW as encodeSelectionRle, dX as encodeSurface, dY as expandCoverage, dZ as exportPsd, d_ as featherCoverage, d$ as filterMaskCoverage, e0 as flipCorners, e1 as fullSelection, e2 as geometryHomography, e3 as getAnnotationBounds, e4 as getCropCursor, e5 as getRotatedSize, e6 as getViewportMetrics, e7 as getViewportProjection, e8 as globalImageCache, e9 as greyMorphology, ea as groupLayers, eb as guidePlanes, ec as guidedFilterColor, ed as hasSurface, ee as hasWarp, ef as hashMaskContent, eg as histogramPath, eh as hitTestAnnotation, ei as hitTestCrop, ej as hueRange, ek as identityTransform, el as imageToCanvasPoint, em as importPsd, en as instancesOf, eo as invertSelection, ep as isActiveFilter, eq as isContentsDecoded, er as isIdentityTransform, es as isQuarterTurnSwapped, et as isRenderedLayer, eu as isRetouchTool, ev as isSelectionEmpty, ew as isSelectionMode, ex as isSmartSurfaceIncomplete, ey as isSpatialFilter, ez as isSrgb, eA as isTransformAnchor, eB as isValidWarp, eC as layerEffectsOf, eD as layerMaskCoverage, eE as layerMaskFromSelection, eF as layerMaskKey, eG as layerName, eH as layerTree, eI as layerTypeLabel, eJ as liveComponent, eK as liveShapeSubpaths, eL as magicWand, eM as mapCropHandle, eN as mapSubpaths, eO as matrixFromCorners, eP as matrixFromParams, eQ as mergeShapeComponents, eR as migrateSerializedImageEditorState, eS as migrateToLayeredState, eT as modifySelection, eU as moveLayer, eV as moveSmartFilter, eW as newContentsId, eX as newLayerId, eY as normalizeAngle, eZ as normalizeFilter, e_ as normalizeLayerMask, e$ as normalizeLiveShape, f0 as normalizePlacement, f1 as normalizeRect, f2 as normalizeRefineEdgeParams, f3 as normalizeShapePaint, f4 as normalizeShapeStroke, f5 as normalizeSmartFilter, f6 as normalizeStoredAdjustments, f7 as normalizeSubpaths, f8 as normalizeText, f9 as offsetLayer, fa as offsetShape, fb as offsetSmartObject, fc as parseBlend, fd as parseColor, fe as parseSelectionMode, ff as patchParagraphStyle, fg as patchTextStyle, fh as pixelLayerBounds, fi as pixelLayers, fj as placeContents, fk as placeLayer, fl as placementAt, fm as placementBounds, fn as placementGeometry, fo as polygonCoverage, fp as polygonSelection, fq as presetWarp, fr as previewStep, fs as profileBytes, ft as projectImagePoint, fu as projectImageRect, fv as projectMaskCoverage, fw as psdToLayers, fx as rasterContents, fy as rasterizeSmartObject, fz as readPsd, fA as rectSelection, fB as referencePoint, fC as refineCoverage, fD as refineEdgeHalo, fE as refineSelection, fF as removeLayer, fG as removeLayerEffect, fH as removeLayerFilter, fI as removeSmartFilter, fJ as renderShape, fK as renderShapeRect, fL as renderSmartObject, fM as renderText, fN as replaceContents, fO as replaceTextRange, fP as requireLayer, fQ as requireOperation, fR as requireShapeLayer, fS as requireSmartObject, fT as requireTypeLayer, fU as requireUnlocked, fV as rerender, fW as rerenderShape, fX as rerenderText, fY as resizePixels, fZ as resizeSelection, f_ as resolveExternalAssets, f$ as resolveProfile, g0 as runLayerFilters, g1 as runLayerFiltersFloat, g2 as selectionArea, g3 as selectionFromCoverage, g4 as selectionFromPixels, g5 as selectionToCoverage, g6 as selectionToPixels, g7 as selectionValueAt, g8 as serializeColorMode, g9 as serializeColorProfile, ga as serializeContents, gb as serializeEffects, gc as serializeLayer, gd as serializeLayers, ge as serializeLayersExternal, gf as serializePatterns, gg as serializeSelection, gh as setLayerEffects, gi as setLayerEffectsEnabled, gj as setLayerMask, gk as setLayerProperties, gl as setSmartFilterMask, gm as setSmartFiltersEnabled, gn as setSmartPlacement, go as shapeAsPixelLayer, gp as shapeFromAnnotation, gq as shapeGeometryBounds, gr as shapeLayers, gs as shapeOutline, gt as shapeRenderClip, gu as shiftCoverage, gv as smartObjectLayers, gw as smoothCoverage, gx as srgb8ToLab, gy as textMatrix, gz as textOutlines, gA as textRange, gB as toHex, gC as toTextSpace, gD as toneRange, gE as transformHomography, gF as transformMap, gG as transformShapeComponents, gH as transformTypeLayer, gI as transformedBox, gJ as transformedPoint, gK as typeAsPixelLayer, gL as typeFrame, gM as typeFromAnnotation, gN as typeLayerName, gO as ungroupLayer, gP as unionRect, gQ as unprojectCanvasPoint, gR as updateLayerEffect, gS as updateLayerFilter, gT as updateLayerMaskProps, gU as updateShapeLayer, gV as updateSmartFilter, gW as updateTypeLayer, gX as withFilterMaskSurface, gY as withNewIds, gZ as writePsd } from '../export-Dng22YB8.js';
|
|
1
|
+
import { a as ImageAdjustments, D as DepthMaskOptions, b as SerializedImageEditorState, A as AdjustmentKind, c as AdjustmentLayer, d as AdjustmentParamsMap, e as AdjustmentLayerMask, f as AdjustmentLayerOf, C as CurvePoint, H as HueRange, L as LevelsChannel, g as ImageEditorController, h as SelectionMask, i as SelectionMode, j as ColorDistance, R as RefineEdgeParams, k as ImagePoint, l as ImageLayer, m as CropBox, n as RasterMask, o as Annotation, p as AdjustmentLayerNode, T as TextEnv, q as AnnotationLayer, r as ShapeLayer, s as TypeLayer, t as LayerFilter, u as PixelLayer, v as DevelopFilter, w as ImageTransform, x as ImageHistogram, y as ImageProjection, z as CompositorSources, B as LayerCompositor, E as LiveShapeKind, F as TypeLayerInfo, G as SmartFilter, J as LayerPlacement, K as FreeTransformMode, M as FreeTransformResult, N as FreeTransformSession, O as FreeTransformInit, Q as TransformAnchor } from '../export-BDkyDNM8.js';
|
|
2
|
+
export { U as AIResultOptions, V as AdjustmentLayerBase, W as AdjustmentLayerInit, X as AdjustmentLayerUpdate, Y as AnnotationPlacement, Z as AnnotationType, _ as ArrowAnnotation, $ as AspectRatio, a0 as BaseAnnotation, a1 as BlackWhiteParams, a2 as BlurFilter, a3 as CircleAnnotation, a4 as CloneSource, a5 as ColorBalanceParams, a6 as ColorBalanceTone, a7 as ColorRangeOptions, a8 as ColorRangeSample, a9 as ConvertOptions, aa as CreateAnnotationPayload, ab as CropHandle, ac as CurvesParams, ad as DEFAULT_ADJUSTMENTS, ae as DEFAULT_DEPTH_MASK, af as DEFAULT_MITER_LIMIT, ag as DEFAULT_PROOF, ah as DEFAULT_REFINE_EDGE_PARAMS, ai as DEFAULT_TRANSFORM, aj as DeserializeContext, ak as DevelopSettings, al as DocumentColorMode, am as DocumentColorProfile, an as EMPTY_DISTANCE, ao as EffectSmartFilter, ap as ExportOptions, aq as FREE_TRANSFORM_CONTENTS, ar as FREE_TRANSFORM_MODES, as as FillOptions, at as FreeTransformContent, au as FreeTransformGeometry, av as FreeTransformHost, aw as FreeTransformPreview, ax as GUIDED_FILTER_EPS, ay as GroupLayer, az as HISTOGRAM_BINS, aA as HistogramChannel, aB as HistoryEntryHandle, aC as HueSaturationParams, aD as IMAGE_EDITOR_SCHEMA_VERSION, aE as IMAGE_EFFECT_PLACES, aF as ImageAnnotation, aG as ImageDimensions, aH as ImageEditorAIHooks, I as ImageEditorAssetStore, aI as ImageEditorFit, aJ as ImageEditorOptions, aK as ImageEditorRenderer, aL as ImageEditorState, aM as ImageEditorTool, aN as ImageEffectGenerator, aO as ImageEffectPlace, aP as ImageEffectsEngine, aQ as ImageEffectsEngineOptions, aR as ImageLayerType, aS as InpaintHook, aT as InpaintOptions, aU as InvertParams, aV as LAYERED_SCHEMA_VERSION, aW as LIVE_SHAPE_KINDS, aX as LayerBase, aY as LayerBlendMode, aZ as LayerFilterKind, a_ as LayerLocation, a$ as LayerMaskProps, b0 as LayerOperationError, b1 as LayerProperties, b2 as LayerSourcesHost, b3 as LayerTarget, b4 as LegacySerializedImageEditorState, b5 as LevelsParams, b6 as LineAnnotation, b7 as LiveShape, b8 as MagicWandOptions, b9 as MixerStrokeInit, ba as PARAGRAPH_STYLE_FIELDS, bb as PSD_BLEND_KEYS, bc as PaintOptions, bd as PaintStrokeResult, be as PaintStrokeSession, bf as PenAnnotation, bg as PhotoFilterParams, bh as PixelBuffer, bi as PixelLayerInit, bj as PixelTransform, bk as PosterizeParams, bl as ProofSetup, bm as PsdChannel, bn as PsdExportInput, P as PsdExportResult, bo as PsdFile, bp as PsdHeader, bq as PsdImportOptions, br as PsdImportResult, bs as PsdLayerMask, bt as PsdLayerRecord, bu as PsdLayerSummary, bv as PsdRect, bw as PsdResource, bx as PsdSmartFilter, by as PsdTaggedBlock, bz as PsdTreeNode, bA as RETOUCH_TOOLS, bB as RectAnnotation, bC as RemoveBackgroundHook, bD as RemoveBackgroundOptions, bE as RenderOptions, bF as RetouchStrokeInit, bG as RetouchTool, bH as SELECTION_MODES, bI as SELECTION_MODIFY_OPS, bJ as SHAPE_OPERATIONS, bK as SHAPE_RENDER_MARGIN, bL as SMART_RENDER_MARGIN, bM as SampleOptions, bN as SelectionChannel, bO as SelectionCommandOptions, bP as SelectionModifyOp, bQ as SerializeContext, bR as SerializedAdjustmentLayer, bS as SerializedAnnotationLayer, bT as SerializedColorMode, bU as SerializedColorProfile, bV as SerializedDeepPixels, bW as SerializedGroupLayer, S as SerializedLayer, bX as SerializedLayerEffects, bY as SerializedLayeredImageEditorState, bZ as SerializedPattern, b_ as SerializedPixelLayer, b$ as SerializedRasterMask, c0 as SerializedSelection, c1 as SerializedShapeLayer, c2 as SerializedSmartContents, c3 as SerializedSmartFilter, c4 as SerializedSmartObjectLayer, c5 as SerializedTypeLayer, c6 as ShapeArrowhead, c7 as ShapeComponent, c8 as ShapeEnv, c9 as ShapeFillRule, ca as ShapeGeometryInput, cb as ShapeLayerData, cc as ShapeLayerInfo, cd as ShapeLayerInit, ce as ShapeLineCap, cf as ShapeLineJoin, cg as ShapeOperation, ch as ShapePaint, ci as ShapePsdData, cj as ShapeSelectionOptions, ck as ShapeStroke, cl as ShapeStrokeAlign, cm as ShapeStrokeInput, cn as SmartCanvas, co as SmartContents, cp as SmartDocument, cq as SmartEffectResolver, cr as SmartFilterKind, cs as SmartFilterStack, ct as SmartObjectInfo, cu as SmartObjectLayer, cv as SmartPlacement, cw as SmartPsdData, cx as SmartRenderOptions, cy as StrokeInit, cz as StrokeTool, cA as TEXT_RENDER_MARGIN, cB as TEXT_STYLE_FIELDS, cC as TONE_RANGE_PRESETS, cD as TRANSFORM_ANCHORS, cE as TextAnnotation, cF as TextLayerInit, cG as ThresholdParams, cH as ToneRangePreset, cI as TransformParams, cJ as TransformReadout, cK as TypeLayerData, cL as TypePsdData, cM as VibranceParams, cN as ViewportMetrics, cO as activeEffectSmartFilters, cP as activeSmartFilters, cQ as addLayerEffect, cR as addLayerFilter, cS as addSmartFilter, cT as adjustmentNodeAsLayer, cU as anchorPoint, cV as annotationBlend, cW as annotationOfShape, cX as annotationOfType, cY as applyImageProjectionToContext, cZ as applyParams, c_ as applySmartFilters, c$ as blurFilter, d0 as borderCoverage, d1 as boxMean, d2 as boxPointOf, d3 as buildLayerMaskPlanes, d4 as calculateCropDrag, d5 as canvasToImagePoint, d6 as checkImageEffectPlace, d7 as clampCropToImage, d8 as colorModePlanes, d9 as colorModePlanes16, da as colorRange, db as combineSelections, dc as componentPath, dd as compositeDeep, de as computeHistogram, df as computeSelectionBounds, dg as contentsBox, dh as contentsSurface, di as contractCoverage, dj as convertColorFields, dk as convertHex, dl as convertSurfaceColors, dm as convertToSmartObject, dn as copySmartObject, dp as cornersFromMatrix, dq as coverageToByte, dr as createSelectionMask, ds as createShapeLayer, dt as createTypeLayer, du as decodeDeepSurface, dv as decodeLayerChannel, dw as decodeLayerMask, dx as decodeMergedImage, dy as decodePngDataUrl, dz as decodeSelectionRle, dA as defaultShapeName, dB as depthMaskAlpha, dC as describeTransform, dD as deserializeColorMode, dE as deserializeColorProfile, dF as deserializeEffects, dG as deserializeLayer, dH as deserializeLayers, dI as deserializePatterns, dJ as deserializeSelection, dK as developFilter, dL as displayTransform, dM as distanceTransform, dN as documentContents, dO as documentProfile, dP as duplicateLayer, dQ as edgeWidth, dR as effectPixelsToSurface, dS as effectiveProof, dT as ellipsePoints, dU as ellipseSelection, dV as encodeDeepSurface, dW as encodeSelectionRle, dX as encodeSurface, dY as expandCoverage, dZ as exportPsd, d_ as featherCoverage, d$ as filterMaskCoverage, e0 as flipCorners, e1 as fullSelection, e2 as geometryHomography, e3 as getAnnotationBounds, e4 as getCropCursor, e5 as getRotatedSize, e6 as getViewportMetrics, e7 as getViewportProjection, e8 as globalImageCache, e9 as greyMorphology, ea as groupLayers, eb as guidePlanes, ec as guidedFilterColor, ed as hasSurface, ee as hasWarp, ef as hashMaskContent, eg as histogramPath, eh as hitTestAnnotation, ei as hitTestCrop, ej as hueRange, ek as identityTransform, el as imageToCanvasPoint, em as importPsd, en as instancesOf, eo as invertSelection, ep as isActiveFilter, eq as isContentsDecoded, er as isIdentityTransform, es as isQuarterTurnSwapped, et as isRenderedLayer, eu as isRetouchTool, ev as isSelectionEmpty, ew as isSelectionMode, ex as isSmartSurfaceIncomplete, ey as isSpatialFilter, ez as isSrgb, eA as isTransformAnchor, eB as isValidWarp, eC as layerEffectsOf, eD as layerMaskCoverage, eE as layerMaskFromSelection, eF as layerMaskKey, eG as layerName, eH as layerTree, eI as layerTypeLabel, eJ as liveComponent, eK as liveShapeSubpaths, eL as magicWand, eM as mapCropHandle, eN as mapSubpaths, eO as matrixFromCorners, eP as matrixFromParams, eQ as mergeShapeComponents, eR as migrateSerializedImageEditorState, eS as migrateToLayeredState, eT as modifySelection, eU as moveLayer, eV as moveSmartFilter, eW as newContentsId, eX as newLayerId, eY as normalizeAngle, eZ as normalizeFilter, e_ as normalizeLayerMask, e$ as normalizeLiveShape, f0 as normalizePlacement, f1 as normalizeRect, f2 as normalizeRefineEdgeParams, f3 as normalizeShapePaint, f4 as normalizeShapeStroke, f5 as normalizeSmartFilter, f6 as normalizeStoredAdjustments, f7 as normalizeSubpaths, f8 as normalizeText, f9 as offsetLayer, fa as offsetShape, fb as offsetSmartObject, fc as parseBlend, fd as parseColor, fe as parseSelectionMode, ff as patchParagraphStyle, fg as patchTextStyle, fh as pixelLayerBounds, fi as pixelLayers, fj as placeContents, fk as placeLayer, fl as placementAt, fm as placementBounds, fn as placementGeometry, fo as polygonCoverage, fp as polygonSelection, fq as presetWarp, fr as previewStep, fs as profileBytes, ft as projectImagePoint, fu as projectImageRect, fv as projectMaskCoverage, fw as psdToLayers, fx as rasterContents, fy as rasterizeSmartObject, fz as readPsd, fA as rectSelection, fB as referencePoint, fC as refineCoverage, fD as refineEdgeHalo, fE as refineSelection, fF as removeLayer, fG as removeLayerEffect, fH as removeLayerFilter, fI as removeSmartFilter, fJ as renderShape, fK as renderShapeRect, fL as renderSmartObject, fM as renderText, fN as replaceContents, fO as replaceTextRange, fP as requireLayer, fQ as requireOperation, fR as requireShapeLayer, fS as requireSmartObject, fT as requireTypeLayer, fU as requireUnlocked, fV as rerender, fW as rerenderShape, fX as rerenderText, fY as resizePixels, fZ as resizeSelection, f_ as resolveExternalAssets, f$ as resolveProfile, g0 as runLayerFilters, g1 as runLayerFiltersFloat, g2 as selectionArea, g3 as selectionFromCoverage, g4 as selectionFromPixels, g5 as selectionToCoverage, g6 as selectionToPixels, g7 as selectionValueAt, g8 as serializeColorMode, g9 as serializeColorProfile, ga as serializeContents, gb as serializeEffects, gc as serializeLayer, gd as serializeLayers, ge as serializeLayersExternal, gf as serializePatterns, gg as serializeSelection, gh as setLayerEffects, gi as setLayerEffectsEnabled, gj as setLayerMask, gk as setLayerProperties, gl as setSmartFilterMask, gm as setSmartFiltersEnabled, gn as setSmartPlacement, go as shapeAsPixelLayer, gp as shapeFromAnnotation, gq as shapeGeometryBounds, gr as shapeLayers, gs as shapeOutline, gt as shapeRenderClip, gu as shiftCoverage, gv as smartObjectLayers, gw as smoothCoverage, gx as srgb8ToLab, gy as textMatrix, gz as textOutlines, gA as textRange, gB as toHex, gC as toTextSpace, gD as toneRange, gE as transformHomography, gF as transformMap, gG as transformShapeComponents, gH as transformTypeLayer, gI as transformedBox, gJ as transformedPoint, gK as typeAsPixelLayer, gL as typeFrame, gM as typeFromAnnotation, gN as typeLayerName, gO as ungroupLayer, gP as unionRect, gQ as unprojectCanvasPoint, gR as updateLayerEffect, gS as updateLayerFilter, gT as updateLayerMaskProps, gU as updateShapeLayer, gV as updateSmartFilter, gW as updateTypeLayer, gX as withFilterMaskSurface, gY as withNewIds, gZ as writePsd } from '../export-BDkyDNM8.js';
|
|
3
3
|
import { b as LoadReport, J as JsonObject, f as MigrationStep } from '../migrate-iTlm3a8h.js';
|
|
4
4
|
import { a as BlendMode } from '../surface-1MRncXpF.js';
|
|
5
5
|
export { B as BLEND_MODES, b as BlendModeInfo, M as MaskSurface, P as PAINTERLY_BLEND_MODES, Z as PIGMENT_BANDS, _ as PIGMENT_LAMBDA_MIN, $ as PIGMENT_LAMBDA_STEP, a0 as PIGMENT_WAVELENGTHS, Y as Pigment, a1 as PigmentOptions, a2 as PigmentRgb, c as PixelSurface, R as RasterRect, d as Rgb, e as Rgba, S as SHADOW_AMBIENT, f as SurfaceDraft, g as TILE, h as TILE_SHIFT, i as Tile, j as TileKey, T 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, a3 as createPigment, s as emptySurface, t as fillRect, u as finishTile, v as isBlendMode, w as isPainterlyBlendMode, x as isSeparableBlendMode, a4 as lerpPigment, a5 as lerpPigmentInto, y as mixPigment8, z as mixPigmentRgb, a6 as mixPigments, A as normalizeBlendMode, C as packRgba, D as pigment8, E as readPixel, F as readRegion, a7 as reflectanceToRgb, a8 as rgbToReflectance, G as setLum, a9 as setPigmentColor, 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-1MRncXpF.js';
|
|
@@ -12,8 +12,8 @@ export { C as CanvasTextShaperOptions, O as OpenTypeFont, a as OutlineFontEntry,
|
|
|
12
12
|
import { f as TextAlign, d as TextStyle, c as ParagraphStyle } from '../warp-C1gwu2G_.js';
|
|
13
13
|
export { D as DEFAULT_AUTO_LEADING, g as DEFAULT_TEXT_STYLE, h as LaidChar, L as LaidFragment, i as LaidLine, P as ParagraphRun, j as TEXT_ALIGNS, a as TextFont, e as TextLayout, b as TextRun, T as TextShaper, k as WARP_STYLES, l as WARP_STYLE_LABELS, W as WarpPreset, m as caretAt, n as dragWarpMeshPoint, o as evalWarpMesh, p as fitParagraphRuns, q as fitRuns, r as fontOf, s as identityWarpMesh, t as layoutText, u as paragraphRanges, v as pullWarpMesh, w as resizeWarpMesh, x as restyleRange, y as spliceRuns, z as styleAt, A as textIndexAt, B as warpMeshEditPoints, C as warpMeshGridCurves, E as warpMeshParamAt, F as warpPresetMesh } from '../warp-C1gwu2G_.js';
|
|
14
14
|
import { B as BezierPath } from '../bezier-lNEOp0Jx.js';
|
|
15
|
-
import { a as MixerLoad, M as MixerSettings } from '../rand-
|
|
16
|
-
export {
|
|
15
|
+
import { a as MixerLoad, M as MixerSettings } from '../rand-BszBST4s.js';
|
|
16
|
+
export { av as BlenderScratch, l as BlenderSettings, B as BrushSettings, C as CloneTransform, g as CoverageMap, aw as DEFAULT_BLENDER, ax as DEFAULT_BRUSH, w as DEFAULT_FLOW, ay as DEFAULT_MIXER, x as DEFAULT_PAINT_GRADIENT, y as DEFAULT_PAINT_GRADIENT_MAPPING, az as DEFAULT_RETOUCH, aA as DEFAULT_SMUDGE, aB as DEFAULT_WET_PAPER, z as DEFAULT_WET_PARAMS, aC as DRY_EPS, D as Dab, aD as DabWalker, aE as EMPTY_MIXER_LOAD, aF as EX, aG as EY, aH as ExchangeRates, aI as FLAG_ALIVE, aJ as FLAG_BOTTOM, aK as FLAG_LEFT, aL as FLAG_RIGHT, aM as FLAG_TOP, aN as FLAG_WET, aO as FLAT, aP as FREE_INTERVAL, aQ as IDENTITY_CLONE_TRANSFORM, aR as MAX_BATCH, A as MAX_BRUSH_SIZE, aS as MAX_TILT_ACCEL, aT as MAX_WET_LANES, aU as MAX_WET_SLOTS, aV as MIXER_DRAIN, aW as MIXER_PICKUP_RATE, aX as MIXING_MODELS, c as MixerStroke, b as MixerTarget, k as MixingModel, aY as OPP, E as PAINT_COLOR_JSON_SCHEMA, F as PAINT_GRADIENT_FULL_SPEED, G as PAINT_GRADIENT_JSON_SCHEMA, H as PAINT_GRADIENT_KIT, I as PAINT_GRADIENT_MAPPINGS, J as PAINT_GRADIENT_MAPPING_LABELS, K as PAINT_GRADIENT_PRESETS, L as PAINT_GRADIENT_REPEATS, N as PAINT_GRADIENT_REPEAT_LABELS, O as PAINT_GRADIENT_SPACES, Q as PAINT_GRADIENT_SPACE_LABELS, U as PAINT_SOURCE_JSON_SCHEMA, aZ as PAPER_CAPACITY, a_ as PARAM, a$ as PARAM_FLOATS, b0 as PIGMENT_CHANNELS, b1 as PLANE, b2 as PLANE_BYTES, b3 as P_D0, b4 as P_EDGE, b5 as P_FX, b6 as P_FY, b7 as P_H, b8 as P_P0, b9 as P_RHO, ba as P_SW, bb as P_UX, bc as P_UY, V as PaintColorSource, X as PaintDabParams, bd as PaintExchange, Y as PaintGradientKit, Z as PaintGradientMapping, _ as PaintGradientMappingKind, $ as PaintGradientRepeat, a0 as PaintGradientSample, a1 as PaintGradientSampler, j as PaintGradientSource, a2 as PaintGradientSpace, a3 as PaintGradientStop, be as PaintMedium, bf as PaintPixels, a4 as PaintRgb, bg as PaintSample, P as PaintSource, a5 as PaintSourceError, h as PaintTileTarget, bh as PixelSource, bi as RETOUCH_SAMPLES, bj as RegionPixelSource, d as RetouchApply, bk as RetouchDabEffect, bl as RetouchDabStroke, f as RetouchPaint, bm as RetouchSample, R as RetouchSettings, q as RgbTriple, bn as SET_PLANES, bo as SLOT_BYTES, bp as SLOT_PLANES, bq as SLOT_SIDE, br as SPOT_HEAL_TYPES, bs as STRIP, bt as SmudgeDab, m as SmudgeSettings, bu as SmudgeTip, bv as SpotHealType, i as StrokeApply, S as StrokeCoverage, e as StrokePoint, bw as TIP_GRADIENT_STEPS, bx as TONE_RANGES, T as TileMedium, by as TileMediumOptions, bz as TilePixelSource, bA as ToneRange, bB as TransformedPixelSource, bC as U_MAX, bD as W9, a6 as WET_FLOW_KINDS, a7 as WET_PARAM_KEYS, bE as WET_TILE, t as WetBackendInfo, bF as WetFlowField, a8 as WetFlowKind, p as WetFlowSpec, bG as WetGpuEngine, bH as WetGpuJob, s as WetGpuProvider, bI as WetGpuSupport, bJ as WetKernelKind, bK as WetLaneOptions, bL as WetLaneStats, bM as WetPaper, v as WetPaperInput, o as WetParams, u as WetSnapshot, a9 as WetSupport, n as WetTilt, bN as WetWorkerLayout, bO as WetWorkerPool, W as WetWorld, bP as WetWorldError, r as WetWorldOptions, aa as addPaintGradientStop, bQ as applyRetouchToTile, bR as applyStrokeToDeepTile, bS as applyStrokeToTile, bT as applyToneToDeepTile, bU as blendRadius, bV as blenderDab, bW as boxBlurPixels, bX as canShareMemory, bY as cleanMixer, bZ as cloneSamplePoint, b_ as coverageTileCoord, b$ as createBlenderScratch, c0 as createWetGpuEngine, c1 as dabCoverage, c2 as dabRect, c3 as dodgeBurn, c4 as dodgeBurnCurve, c5 as dsincos, c6 as edgeBits, c7 as exchangeRates, c8 as findWebGpu, c9 as flowField, ca as gradientDabColor, ab as hash2, cb as healPixels, ac as hexToPaintRgb, ad as isGradientPaint, cc as isIdentityCloneTransform, cd as latticeViscosity, ce as loadMixer, cf as loadWetKernel, cg as luma, ae as mix32, ch as mixerRates, ci as normalizeBlender, cj as normalizeBrush, af as normalizeFlow, ag as normalizeHexColor, ck as normalizeMixer, cl as normalizeRetouch, cm as normalizeSmudge, cn as normalizeTilt, ah as normalizeWetParams, co as packWetParams, ai as paintGradientMappingFor, aj as paintSourceColor, ak as paintSourceCss, al as parsePaintSource, cp as perDabStrength, cq as put255, am as rand01, cr as rasterizeDab, an as readPaintSource, cs as readSourceRegion, ao as removePaintGradientStop, ap as resolvePaintGradient, ct as retouchFilter, aq as reversePaintGradient, cu as rgbaViewOfGrey, cv as saturationOf, ar as scalePaintGradient, cw as smoothPoints, cx as smudgeEffect, as as solidPaint, cy as sponge, cz as spongeEffect, cA as spotHealPixels, cB as spotHealWindow, cC as tipFalloff, cD as tipReach, cE as tipShape, cF as toneOf, at as updatePaintGradientStop, cG as walkDabs, cH as wetGpuSupport, cI as wetSimdSupported, au as wetSupport } from '../rand-BszBST4s.js';
|
|
17
17
|
export { BODY_SCATTER, BrushstrokeBrush, BrushstrokeCache, BrushstrokeCanvasLike, BrushstrokeImage, BrushstrokeInput, BrushstrokeOptions, BrushstrokePaint, BrushstrokeProfilePath, BrushstrokeSample, HIDE, PIGMENT_UNIT, PaintPathOptions, PathSample, PathStrokeOptions, PathStrokePaint, PointerEventLike, PointerStrokeSample, SRGB_TO_LINEAR, WGSL_HALO, WGSL_SHADE, WGSL_STEP, WetMedium, WetMediumOptions, bestOffset, brushstrokeDataUrl, brushstrokeKey, brushstrokeSamples, brushstrokeStrokeOptions, brushstrokeToCanvas, contentAwareFill, createPigmentTools, dexp, dilateMask, dlog, dpow, expNeg, filmPixel, filmReflectance, isBrushstrokeBrush, linearToSrgb8, maskBounds, membraneFill, paintPathStroke, pathStrokeCoverage, pathStrokeDabs, pigmentColor, pigmentOf, pixelPigment, pointerPressure, pointerStrokeSample, pointerStrokeSamples, renderBrushstroke, seamlessClone, shadeTile, solveMembrane, srgbByteToLinear, stepSlotTs } from '../paint/index.js';
|
|
18
18
|
import { j as Intent, b as BuiltinProfileId } from '../builtin-CY97ppKM.js';
|
|
19
19
|
export { a as BUILTIN_PROFILES, i as INTENTS } from '../builtin-CY97ppKM.js';
|
|
@@ -1415,6 +1415,21 @@ declare const RETOUCH_OPTION_CONTROLS: readonly (ControlSpec & {
|
|
|
1415
1415
|
id: 'exposure' | 'strength' | 'historySteps';
|
|
1416
1416
|
tools: readonly PaintTool[];
|
|
1417
1417
|
})[];
|
|
1418
|
+
/** The Clone Source panel's sliders (Clone Stamp and Healing Brush): width and height in percent, angle in degrees. */
|
|
1419
|
+
declare const CLONE_TRANSFORM_CONTROLS: readonly (ControlSpec & {
|
|
1420
|
+
id: 'width' | 'height' | 'angle';
|
|
1421
|
+
})[];
|
|
1422
|
+
/** The clone transform as the panel shows it: width / height in percent, angle in degrees, flips. */
|
|
1423
|
+
declare function cloneTransformView(controller: ImageEditorController): {
|
|
1424
|
+
width: number;
|
|
1425
|
+
height: number;
|
|
1426
|
+
angle: number;
|
|
1427
|
+
flipH: boolean;
|
|
1428
|
+
flipV: boolean;
|
|
1429
|
+
identity: boolean;
|
|
1430
|
+
};
|
|
1431
|
+
/** Sets one Clone Source panel value (`width` / `height` in percent keep the flip; `angle` in degrees; `flipH` / `flipV` toggle). */
|
|
1432
|
+
declare function setCloneTransformValue(controller: ImageEditorController, id: 'width' | 'height' | 'angle' | 'flipH' | 'flipV', value?: number): void;
|
|
1418
1433
|
/** Retouch choices, each a row of toggle buttons, with the tools that show it. */
|
|
1419
1434
|
declare const RETOUCH_CHOICES: readonly {
|
|
1420
1435
|
id: 'sample' | 'spotType' | 'range' | 'spongeMode';
|
|
@@ -1983,4 +1998,4 @@ declare function imageLayerAppliedEffects(layer: ImageLayer): AppliedEffectInfo[
|
|
|
1983
1998
|
/** The effect tools for an image editor (see the module comment). */
|
|
1984
1999
|
declare function createImageEffectsToolProvider(controller: ImageEditorController, options?: ImageEffectsToolProviderOptions): AgentToolProvider;
|
|
1985
2000
|
|
|
1986
|
-
export { ADJUSTMENT_KEYS, ADJUSTMENT_KINDS, ADJUSTMENT_LAYER_CONTROLS, ADJUSTMENT_LAYER_OPACITY_CONTROL, ADJUSTMENT_LUT_SIZE, AS_SHOT_KELVIN, AdjustmentKind, type AdjustmentKindInfo, AdjustmentLayer, AdjustmentLayerMask, AdjustmentLayerNode, AdjustmentLayerOf, AdjustmentParamsMap, Annotation, AnnotationLayer, BACKGROUND_LAYER_ID, BACKGROUND_LAYER_NAME, BIT_DEPTH_OPTIONS, BLUR_FILTER_ID, BRUSH_OPTION_CONTROLS, BlendMode, BuiltinProfileId, COLOR_MODE_OPTIONS, type Chromaticity, ColorDistance, CompositorSources, type ControlSection, type ControlSpec, type ControlTrack, type CoverageFillRule, CropBox, CurvePoint, D50, D65, DEFAULT_SELECTION_TOOL_OPTIONS, DEFAULT_SHAPE_TOOL_OPTIONS, DEFAULT_TYPE_TOOL_OPTIONS, DEPTH_MASK_CONTROLS, DEVELOP_FILTER_ID, DepthMaskOptions, type DescValue, type Descriptor, DevelopFilter, type DropZone, type EffectControl, EffectPattern, FREE_TRANSFORM_FIELDS, FREE_TRANSFORM_MODE_OPTIONS, type FlatPath, type FreeTransformBar, type FreeTransformField, FreeTransformInit, FreeTransformMode, FreeTransformResult, FreeTransformSession, FreeTransformTool, type FreeTransformToolOptions, type GestureModifiers, HUE_RANGE_LABELS, HueRange, IDENTITY_MATRIX3, IMAGE_ADJUSTMENT_CONTROLS, IMAGE_CROP_PRESETS, IMAGE_EDITOR_STATE_VERSION, IMAGE_FILTER_PRESETS, INTENT_OPTIONS, ImageAdjustments, type ImageCropPreset, ImageEditorController, type ImageEditorDocumentLoad, type ImageEditorToolProviderOptions, type ImageEffectsToolProviderOptions, type ImageFilterPreset, ImageHistogram, ImageLayer, ImagePoint, type ImageProcessVersion, ImageProjection, ImageTransform, Intent, Interpolation, LATEST_PROCESS_VERSION, LAYER_EFFECT_MENU, LEGACY_PROCESS_VERSION, LUMA_709, LayerCompositor, LayerEffect, LayerEffectKind, type LayerEffectRow, LayerEffects, type LayerEffectsPanelModel, LayerFilter, type LayerMenuAction, type LayerMenuItem, type LayerPanelRow, LayerPlacement, type LayerStack, type LegacyParts, type LegacyViewResult, LevelsChannel, LiveShapeKind, MAX_KELVIN, MIN_KELVIN, MIRED_PER_TEMPERATURE_UNIT, MIXER_MIXING_OPTIONS, MIXER_OPTION_CONTROLS, type Matrix3, MixerLoad, MixerSettings, type MosaicImageDataLike, type MosaicRegion, type NormalizedLayerItem, PAINT_TOOLS, PATTERN_BLOCK_KEYS, PROOF_PROFILE_OPTIONS, PSD_FILE_ACCEPT, PaintGesture, type PaintPointerSample, type PaintTool, ParagraphStyle, type ParsedAdjustment, type ParsedLayerEffects, PixelLayer, type PixelOp, type PlaneLayout, PsdError, type PsdPattern, Quad, type QuickMaskStyle, REFINE_EDGE_CONTROLS, RETOUCH_CHOICES, RETOUCH_OPTION_CONTROLS, RETOUCH_TOGGLES, RasterMask, type ReferenceItem, type RefineEdgeControl, RefineEdgeParams, type RouteInput, SELECTION_MODE_LABELS, SELECTION_TOOLS, SHAPE_KIND_LABELS, SUPPORTED_ADJUSTMENT_KEYS, SelectionGesture, SelectionMask, SelectionMode, type SelectionToolKind, type SelectionToolOptions, SerializedImageEditorState, ShapeDrawGesture, ShapeLayer, type ShapeToolOptions, type ShortcutEvent, SmartFilter, type SmartFilterRow, TINT_SCALE, TONE_LUT_SIZE, TextAlign, TextEditSession, TextEnv, type TextKey, TextStyle, TransformAnchor, type TransformHandle, type TransformModifiers, type TransformOverlay, TypeLayer, TypeLayerInfo, TypeToolGesture, type TypeToolOptions, type UnitLevels, VIBRANCE_GREY, Vec2, WARP_GRID_OPTIONS, WARP_STYLE_OPTIONS, WORKING_SPACE_OPTIONS, type WarpBar, WarpMesh, WarpStyle, XYZ_D50_TO_SRGB, activeAdjustmentLayers, addToHistogram, adjustmentKindLabel, adjustmentLayersKey, adjustmentNodeFromLegacy, annotationLayerFor, annotationLayerName, annotationOfLayer, applyAdjustmentLayers, applyAdjustmentLayersFloat, applyAdjustments, applyBoxBlur, applyBoxBlurFloat, applyDepthMask, applyLegacyAdjustments, applyLegacyFloat, applyMatrix3, applyOutputStage, applyProcess2Adjustments, applyProcess2Float, applyRegionBlur, applyRegionMosaic, applyShapeOptions, backgroundLayer, baseProjection, blackWhiteGray, boxToCurvePoint, bradfordAdaptation, buildToneLut, clampControlValue, cloneSourceLabel, colorBalanceChannel, colorPanelView, compileAdjustmentLayer, controlPosition, controlTrackBackground, coveringRect, createAdjustmentLayer, createImageCaptureSurface, createImageColorTools, createImageEditTools, createImageEditorToolProvider, createImageEffectTools, createImageEffectsToolProvider, createImageLayerTools, createImagePaintTools, createImagePsdTools, createImageRetouchTools, createImageSelectionTools, createImageShapeTools, createImageSmartObjectTools, createImageTransformTools, createImageTypeTools, curveLutFromLevels, curvePointToBox, curveSvgPath, decodePlanes, defaultAdjustmentParams, depthRasterMask, describeLayer, describeLayerEffects, describeSelection, developFromAdjustments, developTarget, downloadPsd, dropPlacement, dropZone, effectControlChange, emptyHistogram, encodeRle, evaluateAdjustmentLayers, extractNormalizedLayerItems, findAdjustmentControl, findLayerControl, flattenPath, formatControlValue, getControlPath, handlePaintShortcut, hasResampledLegacyMask, hexToRgb, hitTestCurvePoint, hslToRgb, hueRangeTables, hueRangeWeight, hueSaturation, identityCurve, identityLevels, imageEditorStateMigrations, imageLayerAppliedEffects, insertCurvePoint, invertMatrix3, isAdjustmentKind, isDefaultDepthMask, isLegacyShape, isPaintTool, isQuarterTurn, isRetouchPaintTool, kelvinToTemperature, layerBadge, layerEffectControls, layerEffectsBadge, layerEffectsPanel, layerHasThumbnail, layerLabel, layerMenu, layerPanelRows, layerWarning, layersFromLegacy, legacyAdjustmentLayer, legacyMaskOf, legacyView, levelsValue, linearSrgbToXy, linearToSrgb, liveShapeForDrag, loadImageEditorDocument, maskSummary, mixerLoadResult, moveCurvePoint, mulMatrix3, needsLegacyBase, neutralHueRange, normalizeAdjustmentLayer, normalizeAdjustmentLayers, normalizeProcessVersion, openPsdFile, parseAdjustmentBlock, parseCssColor, parseLfx2, parseLrfx, parsePatternBlock, parseVersionedDescriptor, photoFilterMatrix, posterizeValue, projectQuarterTurn, psdBytesFromBase64, psdFileName, psdPatternToEffectPattern, quickMaskPixels, rangeLightness, rasterMaskFromLegacy, rasterizeCoverage, readAdjustmentControls, removeAlpha, removeCurvePoint, renderLayeredBase, resolveMosaicRegionBounds, rgbToGray, rgbToHsl, rgbUnitToHex, runLayerMenuAction, sampleLut, sampleToneLut, selectionModeFromModifiers, selectionOutline, setControlPath, setRetouchChoice, smartFilterRows, splitOverlayAnnotations, srgbToLinear, sumHistograms, tempTintToXy, temperatureToKelvin, toneCurve, toneLuts, typeLayerAt, uvToXy, versionedDescriptorBytes, vibranceLinear, vibrancePixel, wbMatrix, whiteBalanceFromSample, whiteBalanceMatrix, writeAdjustmentBlock, writeLfx2, writePatternBlock, xyToTempTint, xyToUv };
|
|
2001
|
+
export { ADJUSTMENT_KEYS, ADJUSTMENT_KINDS, ADJUSTMENT_LAYER_CONTROLS, ADJUSTMENT_LAYER_OPACITY_CONTROL, ADJUSTMENT_LUT_SIZE, AS_SHOT_KELVIN, AdjustmentKind, type AdjustmentKindInfo, AdjustmentLayer, AdjustmentLayerMask, AdjustmentLayerNode, AdjustmentLayerOf, AdjustmentParamsMap, Annotation, AnnotationLayer, BACKGROUND_LAYER_ID, BACKGROUND_LAYER_NAME, BIT_DEPTH_OPTIONS, BLUR_FILTER_ID, BRUSH_OPTION_CONTROLS, BlendMode, BuiltinProfileId, CLONE_TRANSFORM_CONTROLS, COLOR_MODE_OPTIONS, type Chromaticity, ColorDistance, CompositorSources, type ControlSection, type ControlSpec, type ControlTrack, type CoverageFillRule, CropBox, CurvePoint, D50, D65, DEFAULT_SELECTION_TOOL_OPTIONS, DEFAULT_SHAPE_TOOL_OPTIONS, DEFAULT_TYPE_TOOL_OPTIONS, DEPTH_MASK_CONTROLS, DEVELOP_FILTER_ID, DepthMaskOptions, type DescValue, type Descriptor, DevelopFilter, type DropZone, type EffectControl, EffectPattern, FREE_TRANSFORM_FIELDS, FREE_TRANSFORM_MODE_OPTIONS, type FlatPath, type FreeTransformBar, type FreeTransformField, FreeTransformInit, FreeTransformMode, FreeTransformResult, FreeTransformSession, FreeTransformTool, type FreeTransformToolOptions, type GestureModifiers, HUE_RANGE_LABELS, HueRange, IDENTITY_MATRIX3, IMAGE_ADJUSTMENT_CONTROLS, IMAGE_CROP_PRESETS, IMAGE_EDITOR_STATE_VERSION, IMAGE_FILTER_PRESETS, INTENT_OPTIONS, ImageAdjustments, type ImageCropPreset, ImageEditorController, type ImageEditorDocumentLoad, type ImageEditorToolProviderOptions, type ImageEffectsToolProviderOptions, type ImageFilterPreset, ImageHistogram, ImageLayer, ImagePoint, type ImageProcessVersion, ImageProjection, ImageTransform, Intent, Interpolation, LATEST_PROCESS_VERSION, LAYER_EFFECT_MENU, LEGACY_PROCESS_VERSION, LUMA_709, LayerCompositor, LayerEffect, LayerEffectKind, type LayerEffectRow, LayerEffects, type LayerEffectsPanelModel, LayerFilter, type LayerMenuAction, type LayerMenuItem, type LayerPanelRow, LayerPlacement, type LayerStack, type LegacyParts, type LegacyViewResult, LevelsChannel, LiveShapeKind, MAX_KELVIN, MIN_KELVIN, MIRED_PER_TEMPERATURE_UNIT, MIXER_MIXING_OPTIONS, MIXER_OPTION_CONTROLS, type Matrix3, MixerLoad, MixerSettings, type MosaicImageDataLike, type MosaicRegion, type NormalizedLayerItem, PAINT_TOOLS, PATTERN_BLOCK_KEYS, PROOF_PROFILE_OPTIONS, PSD_FILE_ACCEPT, PaintGesture, type PaintPointerSample, type PaintTool, ParagraphStyle, type ParsedAdjustment, type ParsedLayerEffects, PixelLayer, type PixelOp, type PlaneLayout, PsdError, type PsdPattern, Quad, type QuickMaskStyle, REFINE_EDGE_CONTROLS, RETOUCH_CHOICES, RETOUCH_OPTION_CONTROLS, RETOUCH_TOGGLES, RasterMask, type ReferenceItem, type RefineEdgeControl, RefineEdgeParams, type RouteInput, SELECTION_MODE_LABELS, SELECTION_TOOLS, SHAPE_KIND_LABELS, SUPPORTED_ADJUSTMENT_KEYS, SelectionGesture, SelectionMask, SelectionMode, type SelectionToolKind, type SelectionToolOptions, SerializedImageEditorState, ShapeDrawGesture, ShapeLayer, type ShapeToolOptions, type ShortcutEvent, SmartFilter, type SmartFilterRow, TINT_SCALE, TONE_LUT_SIZE, TextAlign, TextEditSession, TextEnv, type TextKey, TextStyle, TransformAnchor, type TransformHandle, type TransformModifiers, type TransformOverlay, TypeLayer, TypeLayerInfo, TypeToolGesture, type TypeToolOptions, type UnitLevels, VIBRANCE_GREY, Vec2, WARP_GRID_OPTIONS, WARP_STYLE_OPTIONS, WORKING_SPACE_OPTIONS, type WarpBar, WarpMesh, WarpStyle, XYZ_D50_TO_SRGB, activeAdjustmentLayers, addToHistogram, adjustmentKindLabel, adjustmentLayersKey, adjustmentNodeFromLegacy, annotationLayerFor, annotationLayerName, annotationOfLayer, applyAdjustmentLayers, applyAdjustmentLayersFloat, applyAdjustments, applyBoxBlur, applyBoxBlurFloat, applyDepthMask, applyLegacyAdjustments, applyLegacyFloat, applyMatrix3, applyOutputStage, applyProcess2Adjustments, applyProcess2Float, applyRegionBlur, applyRegionMosaic, applyShapeOptions, backgroundLayer, baseProjection, blackWhiteGray, boxToCurvePoint, bradfordAdaptation, buildToneLut, clampControlValue, cloneSourceLabel, cloneTransformView, colorBalanceChannel, colorPanelView, compileAdjustmentLayer, controlPosition, controlTrackBackground, coveringRect, createAdjustmentLayer, createImageCaptureSurface, createImageColorTools, createImageEditTools, createImageEditorToolProvider, createImageEffectTools, createImageEffectsToolProvider, createImageLayerTools, createImagePaintTools, createImagePsdTools, createImageRetouchTools, createImageSelectionTools, createImageShapeTools, createImageSmartObjectTools, createImageTransformTools, createImageTypeTools, curveLutFromLevels, curvePointToBox, curveSvgPath, decodePlanes, defaultAdjustmentParams, depthRasterMask, describeLayer, describeLayerEffects, describeSelection, developFromAdjustments, developTarget, downloadPsd, dropPlacement, dropZone, effectControlChange, emptyHistogram, encodeRle, evaluateAdjustmentLayers, extractNormalizedLayerItems, findAdjustmentControl, findLayerControl, flattenPath, formatControlValue, getControlPath, handlePaintShortcut, hasResampledLegacyMask, hexToRgb, hitTestCurvePoint, hslToRgb, hueRangeTables, hueRangeWeight, hueSaturation, identityCurve, identityLevels, imageEditorStateMigrations, imageLayerAppliedEffects, insertCurvePoint, invertMatrix3, isAdjustmentKind, isDefaultDepthMask, isLegacyShape, isPaintTool, isQuarterTurn, isRetouchPaintTool, kelvinToTemperature, layerBadge, layerEffectControls, layerEffectsBadge, layerEffectsPanel, layerHasThumbnail, layerLabel, layerMenu, layerPanelRows, layerWarning, layersFromLegacy, legacyAdjustmentLayer, legacyMaskOf, legacyView, levelsValue, linearSrgbToXy, linearToSrgb, liveShapeForDrag, loadImageEditorDocument, maskSummary, mixerLoadResult, moveCurvePoint, mulMatrix3, needsLegacyBase, neutralHueRange, normalizeAdjustmentLayer, normalizeAdjustmentLayers, normalizeProcessVersion, openPsdFile, parseAdjustmentBlock, parseCssColor, parseLfx2, parseLrfx, parsePatternBlock, parseVersionedDescriptor, photoFilterMatrix, posterizeValue, projectQuarterTurn, psdBytesFromBase64, psdFileName, psdPatternToEffectPattern, quickMaskPixels, rangeLightness, rasterMaskFromLegacy, rasterizeCoverage, readAdjustmentControls, removeAlpha, removeCurvePoint, renderLayeredBase, resolveMosaicRegionBounds, rgbToGray, rgbToHsl, rgbUnitToHex, runLayerMenuAction, sampleLut, sampleToneLut, selectionModeFromModifiers, selectionOutline, setCloneTransformValue, setControlPath, setRetouchChoice, smartFilterRows, splitOverlayAnnotations, srgbToLinear, sumHistograms, tempTintToXy, temperatureToKelvin, toneCurve, toneLuts, typeLayerAt, uvToXy, versionedDescriptorBytes, vibranceLinear, vibrancePixel, wbMatrix, whiteBalanceFromSample, whiteBalanceMatrix, writeAdjustmentBlock, writeLfx2, writePatternBlock, xyToTempTint, xyToUv };
|
|
@@ -439,21 +439,25 @@ import {
|
|
|
439
439
|
} from "../chunk-GX332W2C.js";
|
|
440
440
|
import {
|
|
441
441
|
DEFAULT_RETOUCH,
|
|
442
|
+
IDENTITY_CLONE_TRANSFORM,
|
|
442
443
|
RETOUCH_SAMPLES,
|
|
443
444
|
RegionPixelSource,
|
|
444
445
|
RetouchDabStroke,
|
|
445
446
|
SPOT_HEAL_TYPES,
|
|
446
447
|
TONE_RANGES,
|
|
447
448
|
TilePixelSource,
|
|
449
|
+
TransformedPixelSource,
|
|
448
450
|
applyRetouchToTile,
|
|
449
451
|
applyToneToDeepTile,
|
|
450
452
|
bestOffset,
|
|
451
453
|
boxBlurPixels,
|
|
454
|
+
cloneSamplePoint,
|
|
452
455
|
contentAwareFill,
|
|
453
456
|
dilateMask,
|
|
454
457
|
dodgeBurn,
|
|
455
458
|
dodgeBurnCurve,
|
|
456
459
|
healPixels,
|
|
460
|
+
isIdentityCloneTransform,
|
|
457
461
|
luma,
|
|
458
462
|
maskBounds,
|
|
459
463
|
membraneFill,
|
|
@@ -471,7 +475,7 @@ import {
|
|
|
471
475
|
spotHealPixels,
|
|
472
476
|
spotHealWindow,
|
|
473
477
|
toneOf
|
|
474
|
-
} from "../chunk-
|
|
478
|
+
} from "../chunk-ILYFOJUN.js";
|
|
475
479
|
import {
|
|
476
480
|
BrushstrokeCache,
|
|
477
481
|
brushstrokeDataUrl,
|
|
@@ -4180,7 +4184,7 @@ var ImageEditorController = class {
|
|
|
4180
4184
|
activeLayerId: null,
|
|
4181
4185
|
activeTarget: "pixels",
|
|
4182
4186
|
outputOpacity: 1,
|
|
4183
|
-
paint: { brush: { ...DEFAULT_BRUSH }, foreground: "#000000", background: "#ffffff", paint: { type: "color", color: "#000000" }, mixer: { ...DEFAULT_MIXER }, mixerLoad: EMPTY_MIXER_LOAD, retouch: { ...DEFAULT_RETOUCH }, cloneSource: null },
|
|
4187
|
+
paint: { brush: { ...DEFAULT_BRUSH }, foreground: "#000000", background: "#ffffff", paint: { type: "color", color: "#000000" }, mixer: { ...DEFAULT_MIXER }, mixerLoad: EMPTY_MIXER_LOAD, retouch: { ...DEFAULT_RETOUCH }, cloneSource: null, cloneTransform: { ...IDENTITY_CLONE_TRANSFORM } },
|
|
4184
4188
|
fit: options.fit ?? "margin"
|
|
4185
4189
|
};
|
|
4186
4190
|
if (options.image instanceof Object && "width" in options.image) {
|
|
@@ -6038,7 +6042,8 @@ var ImageEditorController = class {
|
|
|
6038
6042
|
mixer: options.mixer ? normalizeMixer({ ...cur.mixer, ...options.mixer }) : cur.mixer,
|
|
6039
6043
|
mixerLoad: cur.mixerLoad,
|
|
6040
6044
|
retouch,
|
|
6041
|
-
cloneSource
|
|
6045
|
+
cloneSource,
|
|
6046
|
+
cloneTransform: cur.cloneTransform
|
|
6042
6047
|
};
|
|
6043
6048
|
this.state.paint = next;
|
|
6044
6049
|
this.notify();
|
|
@@ -6079,6 +6084,24 @@ var ImageEditorController = class {
|
|
|
6079
6084
|
this.notify();
|
|
6080
6085
|
return source;
|
|
6081
6086
|
}
|
|
6087
|
+
/**
|
|
6088
|
+
* The Clone Source panel's transform for the Clone Stamp and Healing Brush: `scaleX` / `scaleY`
|
|
6089
|
+
* (factors, 0.01..10 in size; negative flips) and `rotate` (degrees, clockwise), merged into the
|
|
6090
|
+
* current one; `null` resets it. View state, no undo. Returns the transform.
|
|
6091
|
+
*/
|
|
6092
|
+
setCloneTransform(t) {
|
|
6093
|
+
const cur = this.state.paint.cloneTransform;
|
|
6094
|
+
const next = t ? { ...cur, ...t } : { ...IDENTITY_CLONE_TRANSFORM };
|
|
6095
|
+
for (const k of ["scaleX", "scaleY"]) {
|
|
6096
|
+
const v = next[k];
|
|
6097
|
+
if (!Number.isFinite(v) || Math.abs(v) < 0.01 || Math.abs(v) > 10) throw new LayerOperationError(`${k} must be a scale factor between 0.01 and 10 in size (negative flips), not ${String(v)}.`);
|
|
6098
|
+
}
|
|
6099
|
+
if (!Number.isFinite(next.rotate)) throw new LayerOperationError("rotate must be a number of degrees.");
|
|
6100
|
+
next.rotate = ((next.rotate + 180) % 360 + 360) % 360 - 180;
|
|
6101
|
+
this.state.paint = { ...this.state.paint, cloneTransform: next };
|
|
6102
|
+
this.notify();
|
|
6103
|
+
return next;
|
|
6104
|
+
}
|
|
6082
6105
|
/** D: black foreground, white background. */
|
|
6083
6106
|
resetPaintColors() {
|
|
6084
6107
|
this.setPaintOptions({ foreground: "#000000", background: "#ffffff" });
|
|
@@ -6261,7 +6284,9 @@ var ImageEditorController = class {
|
|
|
6261
6284
|
if (!cs) throw new LayerOperationError(`The ${tool === "clone" ? "Clone Stamp" : "Healing Brush"} needs a source point; Alt-click the canvas, call set_clone_source, or pass source { x, y }.`);
|
|
6262
6285
|
let offset = { x: 0, y: 0 };
|
|
6263
6286
|
let first = { x: 0, y: 0 };
|
|
6264
|
-
const
|
|
6287
|
+
const xf = this.state.paint.cloneTransform;
|
|
6288
|
+
const transformed = isIdentityCloneTransform(xf) ? null : new TransformedPixelSource(source, (x, y) => cloneSamplePoint(xf, cs, { x: cs.x - offset.x, y: cs.y - offset.y }, x, y));
|
|
6289
|
+
const paint = () => transformed ? { kind: "source", source: transformed, dx: 0, dy: 0 } : { kind: "source", source, dx: offset.x, dy: offset.y };
|
|
6265
6290
|
return {
|
|
6266
6291
|
kind: "coverage",
|
|
6267
6292
|
coverage,
|
|
@@ -6275,7 +6300,7 @@ var ImageEditorController = class {
|
|
|
6275
6300
|
finalPaint: tool === "heal" ? (cov) => {
|
|
6276
6301
|
if (!cov.bounds) return null;
|
|
6277
6302
|
const g = pad(cov.bounds, 2);
|
|
6278
|
-
const src = readSourceRegion(source, g, offset.x, offset.y);
|
|
6303
|
+
const src = transformed ? readSourceRegion(transformed, g) : readSourceRegion(source, g, offset.x, offset.y);
|
|
6279
6304
|
const dst = readSourceRegion(source, g);
|
|
6280
6305
|
return { kind: "source", source: new RegionPixelSource(g, healPixels(g.width, g.height, src, dst, covered(cov, g))), dx: 0, dy: 0 };
|
|
6281
6306
|
} : void 0,
|
|
@@ -7088,7 +7113,10 @@ var ImageEditorController = class {
|
|
|
7088
7113
|
if (s.activeTool !== "clone" && s.activeTool !== "heal") return null;
|
|
7089
7114
|
const cs = s.paint.cloneSource;
|
|
7090
7115
|
if (!cs) return null;
|
|
7091
|
-
if (cursor && cs.offset && s.paint.retouch.aligned)
|
|
7116
|
+
if (cursor && cs.offset && s.paint.retouch.aligned) {
|
|
7117
|
+
const [x, y] = cloneSamplePoint(s.paint.cloneTransform, cs, { x: cs.x - cs.offset.x, y: cs.y - cs.offset.y }, cursor.x, cursor.y);
|
|
7118
|
+
return { x, y };
|
|
7119
|
+
}
|
|
7092
7120
|
return { x: cs.x, y: cs.y };
|
|
7093
7121
|
}
|
|
7094
7122
|
async render(targetCanvas, options) {
|
|
@@ -10719,6 +10747,30 @@ var RETOUCH_OPTION_CONTROLS = [
|
|
|
10719
10747
|
{ id: "strength", label: "Strength", section: "layer", min: 0, max: 1, step: 0.01, default: 0.5, decimals: 0, track: plain2, displayScale: 100, unit: "%", tools: ["smudge", "blur", "sharpen"] },
|
|
10720
10748
|
{ id: "historySteps", label: "Steps back", section: "layer", min: 0, max: 50, step: 1, default: 0, decimals: 0, track: plain2, unit: "", tools: ["history"] }
|
|
10721
10749
|
];
|
|
10750
|
+
var CLONE_TRANSFORM_CONTROLS = [
|
|
10751
|
+
{ id: "width", label: "Source W", section: "layer", min: 1, max: 400, step: 1, default: 100, decimals: 0, track: plain2, unit: "%" },
|
|
10752
|
+
{ id: "height", label: "Source H", section: "layer", min: 1, max: 400, step: 1, default: 100, decimals: 0, track: plain2, unit: "%" },
|
|
10753
|
+
{ id: "angle", label: "Source angle", section: "layer", min: -180, max: 180, step: 1, default: 0, decimals: 0, track: plain2, unit: "\xB0" }
|
|
10754
|
+
];
|
|
10755
|
+
function cloneTransformView(controller) {
|
|
10756
|
+
const t = controller.getState().paint.cloneTransform;
|
|
10757
|
+
return {
|
|
10758
|
+
width: Math.round(Math.abs(t.scaleX) * 100),
|
|
10759
|
+
height: Math.round(Math.abs(t.scaleY) * 100),
|
|
10760
|
+
angle: t.rotate,
|
|
10761
|
+
flipH: t.scaleX < 0,
|
|
10762
|
+
flipV: t.scaleY < 0,
|
|
10763
|
+
identity: t.scaleX === 1 && t.scaleY === 1 && t.rotate === 0
|
|
10764
|
+
};
|
|
10765
|
+
}
|
|
10766
|
+
function setCloneTransformValue(controller, id, value) {
|
|
10767
|
+
const t = controller.getState().paint.cloneTransform;
|
|
10768
|
+
if (id === "width") controller.setCloneTransform({ scaleX: Math.sign(t.scaleX) * (value ?? 100) / 100 });
|
|
10769
|
+
else if (id === "height") controller.setCloneTransform({ scaleY: Math.sign(t.scaleY) * (value ?? 100) / 100 });
|
|
10770
|
+
else if (id === "angle") controller.setCloneTransform({ rotate: value ?? 0 });
|
|
10771
|
+
else if (id === "flipH") controller.setCloneTransform({ scaleX: -t.scaleX });
|
|
10772
|
+
else controller.setCloneTransform({ scaleY: -t.scaleY });
|
|
10773
|
+
}
|
|
10722
10774
|
var RETOUCH_CHOICES = [
|
|
10723
10775
|
{
|
|
10724
10776
|
id: "sample",
|
|
@@ -11526,12 +11578,12 @@ function createImageRetouchTools(controller) {
|
|
|
11526
11578
|
const getOptions = {
|
|
11527
11579
|
name: "get_retouch_options",
|
|
11528
11580
|
title: "Get retouch options",
|
|
11529
|
-
description: "Reads the retouching tools' options (aligned, sample, spotType, range, exposure, protectTones, spongeMode, vibrance, strength, historySteps) and the clone source ({x, y, offset} or null; offset is the aligned offset the last clone or heal stroke fixed: an aligned stroke samples at the brush plus offset, which the editors show as a crosshair). Call it before clone_stamp or heal_brush without a source to see where they will sample.",
|
|
11581
|
+
description: "Reads the retouching tools' options (aligned, sample, spotType, range, exposure, protectTones, spongeMode, vibrance, strength, historySteps), the Clone Source transform ({scaleX, scaleY, rotate}) and the clone source ({x, y, offset} or null; offset is the aligned offset the last clone or heal stroke fixed: an aligned stroke samples at the brush plus offset, which the editors show as a crosshair). Call it before clone_stamp or heal_brush without a source to see where they will sample.",
|
|
11530
11582
|
inputSchema: { type: "object", properties: {}, additionalProperties: false },
|
|
11531
11583
|
annotations: { title: "Get retouch options", ...READ6 },
|
|
11532
11584
|
handler: () => {
|
|
11533
|
-
const { retouch, cloneSource } = controller.getState().paint;
|
|
11534
|
-
return { options: { ...retouch }, cloneSource: cloneSource ? { ...cloneSource } : null };
|
|
11585
|
+
const { retouch, cloneSource, cloneTransform } = controller.getState().paint;
|
|
11586
|
+
return { options: { ...retouch }, cloneSource: cloneSource ? { ...cloneSource } : null, cloneTransform: { ...cloneTransform } };
|
|
11535
11587
|
}
|
|
11536
11588
|
};
|
|
11537
11589
|
const setOptions = {
|
|
@@ -11580,7 +11632,40 @@ function createImageRetouchTools(controller) {
|
|
|
11580
11632
|
return controller.setCloneSource(checkSource(controller, { x: args.x, y: args.y }));
|
|
11581
11633
|
}
|
|
11582
11634
|
};
|
|
11583
|
-
|
|
11635
|
+
const setTransform = {
|
|
11636
|
+
name: "set_clone_transform",
|
|
11637
|
+
title: "Transform the clone source",
|
|
11638
|
+
description: "Photoshop's Clone Source panel: the Clone Stamp and Healing Brush lay the source scaled by `scaleX` / `scaleY` (percent, default 100; negative or the flip flags mirror it) and rotated by `rotate` degrees clockwise about the stroke's start. Merged into the current transform; reset true goes back to 100 %, 0\xB0. Use it to clone a reflection, a smaller copy or a tilted patch. View state, not an undo step. Returns the transform ({scaleX, scaleY, rotate} as factors and degrees).",
|
|
11639
|
+
inputSchema: {
|
|
11640
|
+
type: "object",
|
|
11641
|
+
properties: {
|
|
11642
|
+
scaleX: { type: "number", description: "Width in percent of the source (1..1000; negative flips horizontally)." },
|
|
11643
|
+
scaleY: { type: "number", description: "Height in percent of the source (1..1000; negative flips vertically)." },
|
|
11644
|
+
rotate: { type: "number", description: "Rotation in degrees, clockwise (-180..180)." },
|
|
11645
|
+
flipHorizontal: { type: "boolean", description: "Mirror the source left to right (negates the width scale; default false)." },
|
|
11646
|
+
flipVertical: { type: "boolean", description: "Mirror the source top to bottom (negates the height scale; default false)." },
|
|
11647
|
+
reset: { type: "boolean", description: "Back to 100 %, no flip, 0\xB0 (default false); other arguments are not allowed with it." }
|
|
11648
|
+
},
|
|
11649
|
+
additionalProperties: false
|
|
11650
|
+
},
|
|
11651
|
+
annotations: { title: "Transform the clone source", ...WRITE5, idempotentHint: false },
|
|
11652
|
+
handler: (args) => {
|
|
11653
|
+
if (args.reset === true) {
|
|
11654
|
+
if (Object.keys(args).some((k) => k !== "reset")) throw new LayerOperationError("Give either reset true or transform values, not both.");
|
|
11655
|
+
return controller.setCloneTransform(null);
|
|
11656
|
+
}
|
|
11657
|
+
const cur = controller.getState().paint.cloneTransform;
|
|
11658
|
+
const next = {};
|
|
11659
|
+
if (args.scaleX !== void 0) next.scaleX = args.scaleX / 100;
|
|
11660
|
+
if (args.scaleY !== void 0) next.scaleY = args.scaleY / 100;
|
|
11661
|
+
if (args.rotate !== void 0) next.rotate = args.rotate;
|
|
11662
|
+
if (args.flipHorizontal === true) next.scaleX = -(next.scaleX ?? cur.scaleX);
|
|
11663
|
+
if (args.flipVertical === true) next.scaleY = -(next.scaleY ?? cur.scaleY);
|
|
11664
|
+
if (!Object.keys(next).length) throw new LayerOperationError("Pass scaleX, scaleY, rotate, flipHorizontal or flipVertical, or reset true.");
|
|
11665
|
+
return controller.setCloneTransform(next);
|
|
11666
|
+
}
|
|
11667
|
+
};
|
|
11668
|
+
return [cloneStamp, healBrush, spotHeal, smudge, dodge, burn, spongeTool, blurTool, sharpenTool, historyBrush, getOptions, setOptions, setSource, setTransform];
|
|
11584
11669
|
}
|
|
11585
11670
|
function pick(args, keys) {
|
|
11586
11671
|
const out = {};
|
|
@@ -15003,6 +15088,7 @@ export {
|
|
|
15003
15088
|
BRUSH_OPTION_CONTROLS,
|
|
15004
15089
|
BUILTIN_PROFILES,
|
|
15005
15090
|
BrushstrokeCache,
|
|
15091
|
+
CLONE_TRANSFORM_CONTROLS,
|
|
15006
15092
|
COLOR_MODE_OPTIONS,
|
|
15007
15093
|
CoverageMap,
|
|
15008
15094
|
D50,
|
|
@@ -15056,6 +15142,7 @@ export {
|
|
|
15056
15142
|
HIDE,
|
|
15057
15143
|
HISTOGRAM_BINS,
|
|
15058
15144
|
HUE_RANGE_LABELS,
|
|
15145
|
+
IDENTITY_CLONE_TRANSFORM,
|
|
15059
15146
|
IDENTITY_MATRIX3,
|
|
15060
15147
|
IMAGE_ADJUSTMENT_CONTROLS,
|
|
15061
15148
|
IMAGE_CROP_PRESETS,
|
|
@@ -15190,6 +15277,7 @@ export {
|
|
|
15190
15277
|
TilePixelSource,
|
|
15191
15278
|
TiledSurface,
|
|
15192
15279
|
TransformTooLargeError,
|
|
15280
|
+
TransformedPixelSource,
|
|
15193
15281
|
TypeToolGesture,
|
|
15194
15282
|
U_MAX,
|
|
15195
15283
|
VIBRANCE_GREY,
|
|
@@ -15297,7 +15385,9 @@ export {
|
|
|
15297
15385
|
clampControlValue,
|
|
15298
15386
|
clampCropToImage,
|
|
15299
15387
|
cleanMixer,
|
|
15388
|
+
cloneSamplePoint,
|
|
15300
15389
|
cloneSourceLabel,
|
|
15390
|
+
cloneTransformView,
|
|
15301
15391
|
collectTiles,
|
|
15302
15392
|
colorBalanceChannel,
|
|
15303
15393
|
colorModePlanes,
|
|
@@ -15516,6 +15606,7 @@ export {
|
|
|
15516
15606
|
isContentsDecoded,
|
|
15517
15607
|
isDefaultDepthMask,
|
|
15518
15608
|
isGradientPaint,
|
|
15609
|
+
isIdentityCloneTransform,
|
|
15519
15610
|
isIdentityTransform,
|
|
15520
15611
|
isInterpolation,
|
|
15521
15612
|
isLayerEffectKind,
|
|
@@ -15785,6 +15876,7 @@ export {
|
|
|
15785
15876
|
serializeLayersExternal,
|
|
15786
15877
|
serializePatterns,
|
|
15787
15878
|
serializeSelection,
|
|
15879
|
+
setCloneTransformValue,
|
|
15788
15880
|
setControlPath,
|
|
15789
15881
|
setLayerEffects,
|
|
15790
15882
|
setLayerEffectsEnabled,
|