Suppressed warning on imageColorsForIndex transparency check