Skip to contents

Encode an image file to base64

Usage

encode_image(image_path)

Arguments

image_path

String containing the path to the image file

Value

A base64 encoded string of the image