Versions in this module Expand all Collapse all v0 v0.3.0 Oct 24, 2026 Changes in this version + type SmartWarpEditOptions = psdedit.SmartWarpEditOptions + type SmartWarpPresetParameters = psdedit.SmartWarpPresetParameters v0.2.0 Oct 23, 2026 Changes in this version + type AdvancedBlendingOptions = psdedit.AdvancedBlendingOptions + type LinkedRasterResolver = psdscene.LinkedRasterResolver + type PatternFillEditOptions = psdedit.PatternFillEditOptions + type PixelMaskSettings = psdedit.PixelMaskSettings + type SmartTransformOptions = psdedit.SmartTransformOptions v0.1.0 Oct 22, 2026 Changes in this version + const AdjustmentChannelMixer + const AdjustmentColorBalance + const AdjustmentCurves + const AdjustmentExposure + const AdjustmentHueSaturation + const AdjustmentInvert + const AdjustmentLevels + const AdjustmentPhotoFilter + const AdjustmentPosterize + const AdjustmentThreshold + const EffectInnerGlow + const EffectInnerShadow + const GlowSourceCenter + const GlowSourceEdge + const IntentPerceptual + const IntentRelativeColorimetric + const IntentSaturation + const KnockoutDeep + const KnockoutNone + const KnockoutShallow + const MaxDecodedPixels + const MaxDimension + const MaxFileBytes + const MaxInputPixels + const MaxLayers + const MaxPixels + const OpenTypeCompatibleStyleRuns + const OpenTypeFauxBoldExpandedAdvance + const OpenTypeFauxBoldOutline + const OpenTypeFirstStyleClusterPaint + const OpenTypeIsolatedStyleRuns + const OpenTypeRejectMixedClusterPaint + const OpenTypeSingleStyle + const OpenTypeTextBlueGrid + const OpenTypeTextBlueResolvedOutward + const OpenTypeTextHintEdgeFractional + const OpenTypeTextHintFractional + const OpenTypeTextHintFull + const OpenTypeTextHintNone + const OpenTypeTextHintVertical + const OpenTypeTextMetrics + const OpenTypeTextNone + const SmartFilterBrightnessContrast + const SmartFilterGaussianBlur + const SmartFilterHueSaturation + const SmartFilterSmartSharpen + const SmartFilterSurfaceBlur + var ErrClosed = psdfile.ErrClosed + var ErrColorInvalid = psdcolor.ErrInvalid + var ErrColorLimit = psdcolor.ErrLimit + var ErrColorNonFinite = psdcolor.ErrNonFinite + var ErrColorOutOfRange = psdcolor.ErrOutOfRange + var ErrColorUnsupported = psdcolor.ErrUnsupported + var ErrCompositeInvalid = psdcompose.ErrInvalid + var ErrCompositeLimit = psdcompose.ErrLimit + var ErrCompositeUnsupported = psdcompose.ErrUnsupported + var ErrImageSize = psdrender.ErrImageSize + var ErrInvalidEdit = psdedit.ErrInvalidEdit + var ErrLimit = psdfile.ErrLimit + var ErrMalformed = psdfile.ErrMalformed + var ErrStaleLinkedEdit = psdedit.ErrStaleLinkedEdit + var ErrStaleNativeTextState = psdedit.ErrStaleNativeTextState + var ErrUnsupported = psdrender.ErrUnsupported + var ErrUnsupportedDecode = psdfile.ErrUnsupported + var ErrUnsupportedEdit = psdedit.ErrUnsupported + func ApplySmartFilters(ctx context.Context, source *image.NRGBA, stack SmartFilterPipeline, ...) (*image.NRGBA, error) + func AssertImageSize(width, height int) error + func BuildRasterContents(ctx context.Context, input *image.NRGBA, options ...RasterContentsOptions) ([]byte, error) + func Composite(ctx context.Context, document *Document, options ...CompositeOptions) (*image.NRGBA, error) + func CompositeRegion(ctx context.Context, document *Document, bounds image.Rectangle, ...) (*image.NRGBA, error) + func ConvertSamples(ctx context.Context, pixels *CompositePixels, options ...ColorOptions) (*image.NRGBA, error) + func DecodeDisplayComposite(ctx context.Context, source *SourceDocument, options ...DisplayOptions) (*image.NRGBA, error) + func DecodeDisplayRegion(ctx context.Context, source *SourceDocument, rectangle image.Rectangle, ...) (*image.NRGBA, error) + func EmptyImage(width, height int) (*image.NRGBA, error) + func Encode(writer io.Writer, source *image.NRGBA, format string) error + func EncodeVectorMask(ctx context.Context, mask *VectorMask, options ...VectorEncodeOptions) ([]byte, error) + func PrepareOutput(source *image.NRGBA, options Options) (*image.NRGBA, error) + func ProfileTransformWorkingBytes(ctx context.Context, input *image.NRGBA, sourceICC, destinationICC []byte, ...) (int64, error) + func RasterContentsWorkingBytes(ctx context.Context, input *image.NRGBA, options ...RasterContentsOptions) (int64, error) + func RasterizeFontRun(ctx context.Context, run *FontRun, bounds image.Rectangle, ...) (*image.Alpha, error) + func RasterizeVectorMask(ctx context.Context, mask *VectorMask, bounds image.Rectangle, ...) (*image.Alpha, error) + func ReadSourceRGBProfile(ctx context.Context, source *SourceDocument, maxBytes int64) ([]byte, error) + func RenderArtboard(ctx context.Context, source *SourceDocument, options ...ArtboardRenderOptions) (*image.NRGBA, error) + func RenderOpenTypeTextLayer(ctx context.Context, source *SourceDocument, record TextLayerRecord, ...) (*image.NRGBA, error) + func RenderPattern(ctx context.Context, tile *image.NRGBA, fill PatternFill, ...) (*image.NRGBA, error) + func RenderSource(ctx context.Context, source *SourceDocument, options ...SceneOptions) (*image.NRGBA, error) + func RenderSourceTile(ctx context.Context, source *SourceDocument, bounds image.Rectangle, ...) (*image.NRGBA, error) + func RenderTextLayer(ctx context.Context, source *SourceDocument, record TextLayerRecord, ...) (*image.NRGBA, error) + func TransformProfile(ctx context.Context, input *image.NRGBA, sourceICC, destinationICC []byte, ...) (*image.NRGBA, error) + func ValidateConfig(config Config, metadata Metadata) error + func ValidateOptions(options Options) error + func VisitSourcePrecisionTiles(ctx context.Context, source *SourceDocument, bounds image.Rectangle, ...) error + func VisitSourceTiles(ctx context.Context, source *SourceDocument, bounds image.Rectangle, ...) error + type AdditionalBlock = psdfile.AdditionalBlock + type Adjustment = psdadjust.Adjustment + type AdjustmentKind = psdadjust.Kind + type ArtboardData = psdfile.ArtboardData + type ArtboardImage = psdscene.ArtboardImage + func RenderArtboards(ctx context.Context, source *SourceDocument, options ...ArtboardRenderOptions) ([]ArtboardImage, error) + type ArtboardRecord = psdfile.ArtboardRecord + type ArtboardRenderOptions = psdscene.ArtboardRenderOptions + type BackgroundLayer = psdrender.BackgroundLayer + type BlendRange = psdmodel.BlendRange + type BlendSlider = psdmodel.BlendSlider + type Candidate = psdrender.Candidate + type ChannelMixerParams = psdadjust.ChannelMixerParams + type ChannelRecord = psdfile.ChannelRecord + type ColorBalanceParams = psdadjust.ColorBalanceParams + type ColorOptions = psdcolor.Options + func DefaultColorOptions() ColorOptions + type CompositeOptions = psdcompose.Options + type CompositePixels = psdfile.CompositePixels + type Config = psdrender.Config + func DefaultConfig(metadata Metadata) Config + type CreateOptions = psdedit.CreateOptions + type Descriptor = psdfile.Descriptor + type DescriptorBlob = psdfile.DescriptorBlob + type DescriptorClass = psdfile.DescriptorClass + type DescriptorEncodeOptions = psdfile.DescriptorEncodeOptions + type DescriptorEntry = psdfile.DescriptorEntry + type DescriptorEnum = psdfile.DescriptorEnum + type DescriptorEnumeratedReference = psdfile.DescriptorEnumeratedReference + type DescriptorNamedReference = psdfile.DescriptorNamedReference + type DescriptorObjectArray = psdfile.DescriptorObjectArray + type DescriptorOffset = psdfile.DescriptorOffset + type DescriptorProperty = psdfile.DescriptorProperty + type DescriptorReference = psdfile.DescriptorReference + type DescriptorUnit = psdfile.DescriptorUnit + type DescriptorUnitArray = psdfile.DescriptorUnitArray + type DescriptorValue = psdfile.DescriptorValue + type DisplayOptions struct + Color ColorOptions + IgnoreSourceProfile bool + IgnoreTransparency bool + type Document = psdmodel.Document + func Open(filename string) (document *Document, err error) + func Parse(data []byte) (document *Document, err error) + func Read(reader io.ReaderAt, size int64) (document *Document, err error) + type DocumentTextAssociation = psdfile.DocumentTextAssociation + type DocumentTextAssociationView = psdfile.DocumentTextAssociationView + type DocumentTextBlock = psdfile.DocumentTextBlock + type DocumentTextView = psdfile.DocumentTextView + type EditChanges = psdedit.Changes + type EditLayerInfo = psdedit.LayerInfo + type Editor = psdedit.Editor + func CreateDocument(ctx context.Context, width, height int, options ...CreateOptions) (*Editor, error) + func NewEditor(source *SourceDocument) (*Editor, error) + func OpenEditor(filename string, options ...LoadOptions) (*Editor, error) + type Effect = psdeffects.Effect + type EffectKind = psdeffects.Kind + type EffectSet = psdeffects.Set + type EffectsEditOptions = psdedit.EffectsEditOptions + type FileHeader = psdfile.Header + type FilterCacheArray = psdfile.FilterCacheArray + type FilterCacheRecord = psdfile.FilterCacheRecord + type FilterCacheView = psdfile.FilterCacheView + type FloatImage = psdprecision.FloatImage + func RenderSourcePrecision(ctx context.Context, source *SourceDocument, options ...PrecisionOptions) (*FloatImage, error) + type FloatRegion = psdprecision.RegionImage + func RenderSourcePrecisionTile(ctx context.Context, source *SourceDocument, bounds image.Rectangle, ...) (*FloatRegion, error) + type FontFace = psdfont.Face + func OpenFont(ctx context.Context, path string, options ...FontOptions) (*FontFace, error) + type FontInstanceMetrics = psdfont.InstanceGlyphMetrics + type FontInstancePosition = psdfont.InstancePosition + type FontLayoutOptions = psdfont.LayoutOptions + type FontNamedVariationInstance = psdfont.NamedVariationInstance + type FontOptions = psdfont.DecodeOptions + type FontRasterOptions = psdfont.RasterOptions + type FontResolver = psdfont.FontResolver + type FontResolverFunc = psdfont.ResolverFunc + type FontRun = psdfont.Run + func LayoutOpenType(ctx context.Context, text string, style FontStyle, resolver FontResolver, ...) (*FontRun, error) + type FontStyle = psdfont.Style + type FontVariationAxis = psdfont.VariationAxis + type FontVariationCoordinate = psdfont.VariationCoordinate + type FontVariationInstanceCoordinate = psdfont.VariationInstanceCoordinate + type FontVariationMetric = psdfont.VariationMetric + type GlowSource = psdeffects.GlowSource + type GradientFill = psdgradient.Fill + type HueSaturationParams = psdadjust.HueSaturationParams + type HueSaturationRange = psdadjust.HueSaturationRange + type HueSaturationValues = psdadjust.HueSaturationValues + type Instance = psdrender.Instance + type KnockoutMode = psdmodel.Knockout + type Layer = psdmodel.Layer + func RenderSourcePlacedLayer(ctx context.Context, source *SourceDocument, layerIndex int, ...) (*Layer, error) + type LayerID = psdedit.LayerID + type LayerMetadataView = psdfile.LayerMetadataView + type LayerPixels = psdfile.LayerPixels + type LayerRecord = psdfile.LayerRecord + type LayerSet = psdfile.LayerSet + type LinkedContentsResolver = psdedit.LinkedContentsResolver + type LinkedContentsUpdate = psdedit.LinkedContentsUpdate + type LinkedContentsUpdateResolver = psdedit.LinkedContentsUpdateResolver + type LinkedDocumentResolver = psdfile.LinkedDocumentResolver + type LinkedFileRecord = psdfile.LinkedFileRecord + type LinkedFileView = psdfile.LinkedFileView + type LinkedRaster = psdfile.LinkedRaster + type LinkedRasterOptions = psdfile.LinkedRasterOptions + type LoadOptions = psdfile.LoadOptions + type Mask = psdmodel.Mask + type Metadata = psdrender.Metadata + func Inspect(document *Document) (Metadata, error) + type MetadataOptions = psdfile.MetadataOptions + type MixerChannel = psdadjust.MixerChannel + type NativeTextStateOptions = psdedit.NativeTextStateOptions + type Object = psdrender.Object + type ObjectConfig = psdrender.ObjectConfig + type OpenTypeClusterPaintPolicy = psdscene.OpenTypeClusterPaintPolicy + type OpenTypeFauxBoldPolicy = psdscene.OpenTypeFauxBoldPolicy + type OpenTypeFeature = psdfont.ShapeFeature + type OpenTypeShapeOptions = psdfont.ShapeOptions + type OpenTypeStyleBoundaryPolicy = psdscene.OpenTypeStyleBoundaryPolicy + type OpenTypeTextBluePolicy = psdscene.OpenTypeTextBluePolicy + type OpenTypeTextHinting = psdscene.OpenTypeTextHinting + type OpenTypeTextKerning = psdscene.OpenTypeTextKerning + type OpenTypeTextRenderOptions = psdscene.OpenTypeTextRenderOptions + type Options = psdrender.Options + type PatternFill = psdpattern.Fill + type PatternOptions = psdpattern.Options + type PhotoFilterParams = psdadjust.PhotoFilterParams + type Placed = psdmodel.Placed + type Plane = psdfile.Plane + type Point = psdmodel.Point + type PrecisionOptions = psdscene.PrecisionOptions + type PresetWarpGeometry = psdwarp.PresetGeometry + func CompilePresetWarpGeometry(ctx context.Context, placed *Placed, options ...WarpGeometryOptions) (*PresetWarpGeometry, error) + type ProfileTransformOptions = psdcolor.ProfileTransformOptions + type RandomRow = psdrender.RandomRow + type RasterContentsOptions = psdedit.RasterContentsOptions + type RawSpan = psdfile.Span + type ReadError = psdfile.Error + type RegionDisplayOptions struct + Decode RegionOptions + Display DisplayOptions + type RegionOptions = psdfile.RegionOptions + type RenderOptions = psdrender.RenderOptions + type Renderer = psdrender.Engine + func NewRenderer(document *Document) (*Renderer, error) + type RenderingIntent = psdcolor.RenderingIntent + type ResourceBlock = psdfile.ResourceBlock + type SaveOptions = psdedit.SaveOptions + type SceneOptions = psdscene.Options + type ShapedGlyph = psdfont.ShapedGlyph + type ShapedRun = psdfont.ShapedRun + func ShapeOpenType(ctx context.Context, face *FontFace, text string, ...) (*ShapedRun, error) + type Slice = psdmodel.Slice + type SmartContentsOptions = psdedit.SmartContentsOptions + type SmartFilter = psdfilter.Filter + type SmartFilterEditOptions = psdedit.SmartFilterEditOptions + type SmartFilterEstimate = psdfilter.Estimate + func EstimateSmartFilters(source *image.NRGBA, stack SmartFilterPipeline, options ...SmartFilterOptions) (SmartFilterEstimate, error) + type SmartFilterKind = psdfilter.Kind + type SmartFilterOptions = psdfilter.Options + type SmartFilterPipeline = psdfilter.Stack + type SmartFilterRecord = psdfile.SmartFilterRecord + type SmartFilterStack = psdfile.SmartFilterStack + func DecodeSmartFilters(ctx context.Context, placement SmartObjectRecord, options ...MetadataOptions) (*SmartFilterStack, error) + type SmartObjectInfo = psdedit.SmartObjectInfo + type SmartObjectRecord = psdfile.SmartObjectRecord + type SmartObjectView = psdfile.SmartObjectView + type SourceDocument = psdfile.Document + func OpenDocument(filename string, options ...LoadOptions) (*SourceDocument, error) + func ParseDocument(data []byte, options ...LoadOptions) (*SourceDocument, error) + func ReadDocument(reader io.ReaderAt, size int64, options ...LoadOptions) (*SourceDocument, error) + type SourceLimits = psdfile.Limits + func DefaultSourceLimits() SourceLimits + type TIFFLayerSource = psdfile.TIFFLayerSource + type TIFFLayerSourceInfo = psdfile.TIFFLayerSourceInfo + type TIFFNormalizationRange = psdfile.TIFFNormalizationRange + type TIFFOpaqueBlock = psdfile.TIFFOpaqueBlock + type TIFFSavedPreview = psdfile.TIFFSavedPreview + type TextEditOptions = psdedit.TextEditOptions + type TextLayerRecord = psdfile.TextLayerRecord + type TextLayerView = psdfile.TextLayerView + type TextRenderOptions = psdscene.TextRenderOptions + type TileOptions = psdscene.TileOptions + type UniformGridWarpGeometry = psdwarp.UniformGrid + func CompileUniformGridWarpGeometry(ctx context.Context, placed *Placed, options ...WarpGeometryOptions) (*UniformGridWarpGeometry, error) + type VectorEncodeOptions = psdvector.EncodeOptions + type VectorMask = psdvector.Mask + type VectorOptions = psdvector.Options + type Warp = psdmodel.Warp + type WarpBounds = psdmodel.WarpBounds + type WarpGeometryOptions = psdwarp.Options + type WarpSlice = psdmodel.WarpSlice