Hi,
cfset filePath = expandPath(“images/test.png”)>
cfdump var=“#imageRead(filePath)#” abort>
When doing the above i get a pink/purple colored PNG image instead of the test.png how it is… What could be the problem because i’m scratching my head for a day already… always used ImageMagick but want to use the image extension because i would like to use webp as output. ImageMagick is not really doing what i want with the ubuntu/docker i have.
Do i need to do something with the png before?? Other files work fine like webp, jpg, gif etc.
Don’t forget to tell us about your stack!
OS: Ubuntu
JAVA: 1.8.0_172 (Oracle Corporation) 64bit
Lucee Version: Lucee 6.0.3.1