SixLabors / ImageSharp

:camera: A modern, cross-platform, 2D Graphics library for .NET
https://sixlabors.com/products/imagesharp/
Other
7.31k stars 846 forks source link

TGA: Treat 32 bit True Color images always as transparent #2643

Closed brianpopow closed 7 months ago

brianpopow commented 7 months ago

Prerequisites

Description

This MR changes the tga decoder to always treat 32 bit true color images as images with transparency, because some encoders seems to not set the alpha bit flags in the image descriptor correctly.

This addresses issue #2629