<!--- Read in the binary image data. ---> <cffile action="READBINARY" file="#ExpandPath( './lady.jpg' )#" variable="binImage" /> <!--- Read in the Base64 image data. To get Base64 image data, we can convert the binary read we did above. ---> <cfimage action="INFO" source="#ToBase64( binImage )#" structname="objImageInfo" isbase64="true" />