```Has anyone seen any issues with lucee when you ...
# lucee
p
Copy code
Has anyone seen any issues with lucee when you create images with imagenew, then base64 the image?  I can reproduce every time.  This is lucee issue only.
<cfscript>
    myImage = imageNew("",200,200,"argb")
     base64 = toBase64(myImage);
     writeDump(base64);
</cfscript>
Then decode it: https://base64.guru/converter/decode/image Preview Image Your browser cannot display the file as “image/plain”. This works fine on ACF
p
So is that error from that decoder website or actually from Lucee?
p
Lucee
It works fine in acf
p
Just ran your code on Lucee, generates as expected....the "error" of "_Your browser cannot display the file as “image/plain”_ is what I was asking if it came from Lucee or the decoding site. The error message you provide is from the decoding site that you are saying. And why are you just generating a blank/nothing image?
p
Generating blank image so I can paste on an existing image with different aspect ration. Ie taking a rectangle and making it a square with the "space" filled in.
What luceee engine did you use?