Product and version FileMaker Pro Advanced 15.0.1
OS and version Windows Server 2012 (perhaps any system)
Browser and version N/A
Hardware VMWare (perhaps any hardware)
GetContainerAttribute ( sourceField ; "transparency" ) incorrectly returns 0 for 8 bit png's with transparency
Since 8 bit png's with transparency are used heavily (online) because of their size benefits.
How to replicate
- Get or create any 8 bit .png with transparency. If you want to easily create one:
Upload any .png file (one with transparency) to TinyPNG.com:
TinyPNG – Compress PNG images while preserving transparency
The site returns an 8 bit .png version, with transparency
- Upload to a Filemaker container and GetContainerAttribute ( sourceField ; "transparency" )
- check the result, it will be 0 while it does have transparency
Unfortunately I know of no workaround checking transparency for 8 bit png's in Filemaker
Hope it helps and hopefully Filemaker wants to improve to also recognize the many 8 bit png's we have with transparency.