Hi,
We’re using FileUpload in our images upload, and finding that some pngs will come out looking like an orangish-red-colored photo-negative.
I have examined the photo EXIF metadata before upload and after.
Difference which I believe is causing this is:
- original photo has
colormodel.transparency=OPAQUE
- uploaded temp photo has
colormodel.transparency=TRANSPARENT
I also see this diff but not sure if it’s related:
- original photo has
colormodel.pixel_size=24
- original photo has
colormodel.pixel_size=32
There is also some other EXIF metadata that Lucee seems to strip.
I cannot see any configuration on why this get changed, nor any functions to set it manually.
Any ideas how we can fix this so our png uploads work?
Lucee: 5.2.9.31
OS: Windows 10 and Server 2012
Java: 1.8.0_351
Tomcat 8.5