Tags · Functions · Objects
Lucee Function Reference
Choose a function:

Function IMAGEWRITEBASE64

Writes Base64 images to the specified filename and destination.

Example

imagewritebase64(any name,string destination,string format,[boolean inHTMLFormat]):string

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
name any  Yes The image on which this operation is performed.  
destination string  Yes The path for the destination file.  
format string  Yes the image format  
inHTMLFormat boolean  No Specify whether Base64 output includes the headers used by the Base64 images in the HTML "img" tag ("data:image/{format};base64,...") :
  • true
  • false (default)