Railo 4.2 Reference
Choose a function:

Function IMAGEWRITEBASE64

Writes Base64 images to the specified filename and destination.

Beispiel

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

Argumente

Die Argumente für diese Funktion sind fest vorgegeben. Ausser den nachfolgenden Argumenten dürfen keine weiteren verwendet werden.
Name Typ Required Beschreibung
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)