# BPC = bits per component, and may be 1, 2, 4, 8, or 16 per the PNG spec. # Color types may further restrict the available options. Additionally, # this module doesn't currently support 16-bit components. if ($bpc == 16) { die '16-bit colors/transparency are not supported.'; }