Skip to content

Kirby 4.2.0

$image->base64()

Returns the file content as base64 encoded string

$image->base64(): string

Return type

string

Parent class

Kirby\Image\Image inherited from Kirby\Filesystem\File