SproutCMS

This is the code documentation for the SproutCMS project

function base64()

Generate a base64-encoded PNG image, e.g. for an <img src="data:image/png;base64,..."> tag

Usage

unknown Image::base64 ( Path $file_path [, ImageTransform $transform ] );

Arguments

  1. Path $file_path
    to the original file
  2. ImageTransform $transform = NULL