Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ImageUtil

Implements

Index

Methods

Methods

getBase64Image

  • getBase64Image(img: HTMLImageElement): string
  • Appropriate for browsers.

    Parameters

    • img: HTMLImageElement

      an image. Can be obtained in a manner similar to :

      var img = document.getElementById("img_id");

    Returns string

    a base 64 encoded string of the image.

Generated using TypeDoc