Retrieves the bytes of the underlying image. The bytes are in the same image format as the source image.
imageGetBlob(source)
→ returns binary
someImage.getBlob()
CF 11+ Lucee 4.5+ Retrieve the bytes of the underlying image
imgObj = imageRead("http://cfdocs.org/apple-touch-icon.png");
blob = imgObj.getBlob();
writeDump(blob);
Signup for cfbreak
to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.