Versions in this module Expand all Collapse all v0 v0.1.4 Oct 4, 2026 Changes in this version + func Add(input any, target Target, wm Watermark, w io.Writer, options Options) error + func ImageAppearance(options ImageOptions) ([]byte, error) + func Remove(input any, target Target, w io.Writer, options Options) error + func Replace(input any, target Target, wm Watermark, w io.Writer, options Options) error + func TextAppearance(options TextOptions) ([]byte, error) + type Image struct + Data []byte + Format string + Height float64 + Layout TextLayout + Opacity *uint8 + Width float64 + type ImageOptions struct + Aspect float64 + Boundary creator.Box + Gap float64 + Height float64 + ID uint64 + ImageID uint64 + Layout TextLayout + Width float64 + X float64 + Y float64 + type Options struct + SkipPermissionsCheck bool + SkipReadOnlyCheck bool + type Target struct + Document int + MatchIDs []uint64 + Pages []int + type TextLayout int + const LayoutCenter + const LayoutManual + const LayoutTile + type TextOptions struct + Boundary creator.Box + CTM [6]float64 + Color *creator.Color + ColumnGap float64 + Fill *bool + Font string + ID uint64 + Layout TextLayout + LineGap float64 + Opacity *uint8 + Rotation float64 + Size float64 + Text string + X float64 + Y float64 + type Watermark struct + Appearance []byte + Boundary *creator.Box + Creator string + ID uint64 + Image *Image + LastModDate time.Time + NoRotate bool + NoZoom bool + Parameters []creator.AnnotationParameter + Print *bool + ReadOnly *bool + Remark string + Subtype string + Visible *bool