Rapport.Image (rapport v0.7.2)

Summary

Functions

Converts an image to a base64 encoded string that can be embedded in a image tag

Functions

@spec as_data(String.t()) :: String.t()

Converts an image to a base64 encoded string that can be embedded in a image tag:

Embedded Image

Supported image types are JPEG, PNG and GIF.

Options

  • image - Image binary