file-tga: Handle 16-bit palettes with transparency (#687802)
Primarily, this fixes a buffer overflow in the colormap buffer. * We promote such images to GIMP_RGBA_IMAGE now. * The alpha handling for the colormap to RGBA conversion has been fixed. * Inverted transparency in upsampling has been fixed.
Showing with 14 additions and 3 deletions