Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • TransformOptions

Index

Properties

Optional ascii

ascii: { background?: string; colored?: boolean; foreground?: string; reverse?: boolean; size?: number } | true

Optional blackwhite

blackwhite: { threshold: number } | true

Optional blur

blur: { amount: number } | true

Optional blur_faces

blur_faces: { amount?: number; blur?: number; buffer?: number; faces?: number | string; maxsize?: number; minsize?: number; type?: EShapeType }

Type declaration

  • Optional amount?: number
  • Optional blur?: number
  • Optional buffer?: number
  • Optional faces?: number | string
  • Optional maxsize?: number
  • Optional minsize?: number
  • Optional type?: EShapeType

Optional border

border: { background?: string; color?: string; width?: number } | true

Optional cache

cache: { cache?: boolean; expiry: number }

Type declaration

  • Optional cache?: boolean
  • expiry: number

Optional circle

circle: { background?: string } | true

Optional collage

collage: { color?: string; files: [string]; fit?: EFitOptions; height?: number; margin?: number; width?: number }

Type declaration

  • Optional color?: string
  • files: [string]
  • Optional fit?: EFitOptions
  • Optional height?: number
  • Optional margin?: number
  • Optional width?: number

Optional compress

compress: boolean

Optional crop

crop: { dim: [number, number, number, number] }

Type declaration

  • dim: [number, number, number, number]

Optional crop_faces

crop_faces: { buffer?: number; faces?: number | string; height?: number; mode?: ECropfacesType; width?: number }

Type declaration

  • Optional buffer?: number
  • Optional faces?: number | string
  • Optional height?: number
  • Optional mode?: ECropfacesType
  • Optional width?: number

Optional detect_faces

detect_faces: { color?: string; export?: boolean; maxsize?: number; minsize?: number } | true

Optional enchance

enchance: boolean

Optional flip

flip: boolean

Optional flop

flop: boolean

Optional modulate

modulate: { brightness?: number; hue?: number; saturation?: number } | true

Optional monochrome

monochrome: boolean

Optional negative

negative: boolean

Optional oil_paint

oil_paint: { amount: number } | true

Optional output

output: { background?: string; colorspace?: string; compress?: boolean; density?: number; docinfo?: boolean; format: string; page?: number; pageformat?: string; pageorientation?: string; quality?: number; secure?: boolean; strip?: boolean }

Type declaration

  • Optional background?: string
  • Optional colorspace?: string
  • Optional compress?: boolean
  • Optional density?: number
  • Optional docinfo?: boolean
  • format: string
  • Optional page?: number
  • Optional pageformat?: string
  • Optional pageorientation?: string
  • Optional quality?: number
  • Optional secure?: boolean
  • Optional strip?: boolean

Optional partial_blur

partial_blur: { amount: number; blur?: number; objects?: [[number, number, number, number]]; type?: EShapeType }

Type declaration

  • amount: number
  • Optional blur?: number
  • Optional objects?: [[number, number, number, number]]
  • Optional type?: EShapeType

Optional partial_pixelate

partial_pixelate: { amount?: number; blur?: number; objects?: [[number, number, number, number]]; type?: EShapeType }

Type declaration

  • Optional amount?: number
  • Optional blur?: number
  • Optional objects?: [[number, number, number, number]]
  • Optional type?: EShapeType

Optional pdfconvert

pdfconvert: { pageformat?: string; pageorientation?: string; pages?: (string | number)[] }

Type declaration

  • Optional pageformat?: string
  • Optional pageorientation?: string
  • Optional pages?: (string | number)[]

Optional pdfinfo

pdfinfo: { colorinfo?: boolean } | true

Optional pixelate

pixelate: { amount: number } | true

Optional pixelate_faces

pixelate_faces: { amount?: number; blur?: number; buffer?: number; faces?: number | string; maxsize?: number; minsize?: number; type?: EShapeType }

Type declaration

  • Optional amount?: number
  • Optional blur?: number
  • Optional buffer?: number
  • Optional faces?: number | string
  • Optional maxsize?: number
  • Optional minsize?: number
  • Optional type?: EShapeType

Optional polaroid

polaroid: { background?: string; color?: string; rotate?: number } | true

Optional quality

quality: { value: number }

Type declaration

  • value: number

Optional redeye

redeye: boolean

Optional resize

resize: { align?: EAlignFacesOptions; fit?: EFitOptions; height?: number; width?: number }

Type declaration

Optional rotate

rotate: { background?: string; color?: string; deg: number | string }

Type declaration

  • Optional background?: string
  • Optional color?: string
  • deg: number | string

Optional rounded_corners

rounded_corners: { background?: string; blur?: number; radius?: number } | true

Optional security

security: { policy: string; signature?: string }

Type declaration

  • policy: string
  • Optional signature?: string

Optional sepia

sepia: { tone: number } | true

Optional sfw

sfw: boolean

Optional shadow

shadow: { background?: string; blur?: number; color?: string; opacity?: number; vector?: [number, number] } | true

Optional sharpen

sharpen: { amount: number } | true

Optional store

store: { access?: string; base64decode?: boolean; container?: string; filename?: string; location?: string; path?: string; region?: string }

Type declaration

  • Optional access?: string
  • Optional base64decode?: boolean
  • Optional container?: string
  • Optional filename?: string
  • Optional location?: string
  • Optional path?: string
  • Optional region?: string

Optional tags

tags: boolean

Optional torn_edges

torn_edges: { background?: string; spread?: [number, number] } | true

Optional upscale

upscale: { noise?: ENoiseType; style?: EStyleType; upscale?: boolean } | true

Optional urlscreenshot

urlscreenshot: { agent?: EUrlscreenshotAgent; delay?: number; device?: string; height?: number; mode?: EUrlscreenshotMode; orientation?: EUrlscreenshotOrientation; width?: number } | true

Optional video_convert

video_convert: { access?: EVideoAccess; aspect_mode: EVideoAccessMode; audio_bitrate?: number; audio_channels?: number; audio_sample_rate?: number; clip_length?: string; clip_offset?: string; container?: string; extname?: string; filename?: string; force?: boolean; fps?: number; height?: number; keyframe_interval?: number; location?: EVideoLocations; path?: string; preset?: EVideoTypes; title?: string; two_pass?: boolean; upscale: boolean; video_bitrate?: number; watermark_bottom?: number; watermark_height?: number; watermark_left?: number; watermark_right?: number; watermark_top?: number; watermark_url?: string; watermark_width?: number; width?: number }

Type declaration

  • Optional access?: EVideoAccess
  • aspect_mode: EVideoAccessMode
  • Optional audio_bitrate?: number
  • Optional audio_channels?: number
  • Optional audio_sample_rate?: number
  • Optional clip_length?: string
  • Optional clip_offset?: string
  • Optional container?: string
  • Optional extname?: string
  • Optional filename?: string
  • Optional force?: boolean
  • Optional fps?: number
  • Optional height?: number
  • Optional keyframe_interval?: number
  • Optional location?: EVideoLocations
  • Optional path?: string
  • Optional preset?: EVideoTypes
  • Optional title?: string
  • Optional two_pass?: boolean
  • upscale: boolean
  • Optional video_bitrate?: number
  • Optional watermark_bottom?: number
  • Optional watermark_height?: number
  • Optional watermark_left?: number
  • Optional watermark_right?: number
  • Optional watermark_top?: number
  • Optional watermark_url?: string
  • Optional watermark_width?: number
  • Optional width?: number

Optional vignette

vignette: { amount?: number; background?: string; blurmode?: EBlurMode }

Type declaration

  • Optional amount?: number
  • Optional background?: string
  • Optional blurmode?: EBlurMode