Types
HorizontalAlignment = enum HAlignLeft, HAlignCenter, HAlignRight
VerticalAlignment = enum VAlignTop, VAlignCenter, VAlignBottom
VipsError = object of CatchableError
- A VipsError represents an error returned by libvips operations.
Procs
proc blend(img: ptr VipsImage; overlay: ptr VipsImage; mode: VipsBlendMode): ptr VipsImage {. ...raises: [VipsError], tags: [], forbids: [].}
- Blend the overlay image onto the base image using the specified mode.
proc blendDarken(img: ptr VipsImage; overlay: ptr VipsImage): ptr VipsImage {. ...raises: [VipsError], tags: [], forbids: [].}
- Blend the overlay image onto the base image using darken mode.
proc blendDifference(img: ptr VipsImage; overlay: ptr VipsImage): ptr VipsImage {. ...raises: [VipsError], tags: [], forbids: [].}
- Blend the overlay image onto the base image using difference mode.
proc blendExclusion(img: ptr VipsImage; overlay: ptr VipsImage): ptr VipsImage {. ...raises: [VipsError], tags: [], forbids: [].}
- Blend the overlay image onto the base image using exclusion mode.
proc blendLighten(img: ptr VipsImage; overlay: ptr VipsImage): ptr VipsImage {. ...raises: [VipsError], tags: [], forbids: [].}
- Blend the overlay image onto the base image using lighten mode.
proc blendMultiply(img: ptr VipsImage; overlay: ptr VipsImage): ptr VipsImage {. ...raises: [VipsError], tags: [], forbids: [].}
- Blend the overlay image onto the base image using multiply mode.
proc blendOverlay(img: ptr VipsImage; overlay: ptr VipsImage): ptr VipsImage {. ...raises: [VipsError], tags: [], forbids: [].}
- Blend the overlay image onto the base image using overlay mode.
proc blendScreen(img: ptr VipsImage; overlay: ptr VipsImage): ptr VipsImage {. ...raises: [VipsError], tags: [], forbids: [].}
- Blend the overlay image onto the base image using screen mode.
proc enableVipsAcceleration(numWorkers: int) {....raises: [], tags: [], forbids: [].}
proc format(img: ptr VipsImage): VipsBandFormat {....raises: [], tags: [], forbids: [].}
- Get the pixel format of the image.
proc interpretation(img: ptr VipsImage): VipsInterpretation {....raises: [], tags: [], forbids: [].}
- Get the color interpretation of the image.
Templates
template init_vips(body: untyped)
template init_vips_accelerated(workers: int; body: untyped)