I'm developing a desktop application and I'm trying to use a TTrayIcon
to display an icon in the system tray. However, I keep getting the error message:
Image palette is too big or absent
What could be causing this issue?
The icon I was using had a 1-bit black and white color palette. TTrayIcons
often require icons with a more standard color depth, such as 8-bit or 24-bit.
To fix this, I converted the icon to use a higher color depth in a software like GreenFish Icon Editor Pro, and the error was resolved.