Gjsify LogoGjsify Logo

Hierarchy

  • Blob

Index

Constructors

Properties

Methods

Constructors

  • Like vips_area_new(), but track a length as well. The returned #VipsBlob takes ownership of data and will free it with free_fn. Pass %NULL for free_fn to not transfer ownership.

    An area of mem with a free func and a length (some sort of binary object, like an ICC profile).

    See also: vips_area_unref().

    Parameters

    • free_fn: CallbackFn

      data will be freed with this function

    • data: Uint8Array

      data to store

    Returns Vips.Blob

Properties

area: Area
name: string

Methods

  • get(): Uint8Array
  • Like vips_blob_new(), but take a copy of the data. Useful for bindings which struggle with callbacks.

    See also: vips_blob_new().

    Parameters

    • data: Uint8Array

      data to store

    Returns Vips.Blob

  • Like vips_area_new(), but track a length as well. The returned #VipsBlob takes ownership of data and will free it with free_fn. Pass %NULL for free_fn to not transfer ownership.

    An area of mem with a free func and a length (some sort of binary object, like an ICC profile).

    See also: vips_area_unref().

    Parameters

    • free_fn: CallbackFn

      data will be freed with this function

    • data: Uint8Array

      data to store

    Returns Vips.Blob

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method