Railo 4.2 Reference
Choose a function:


Writes Base64 images to the specified filename and destination.


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


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)