pngj icon indicating copy to clipboard operation
pngj copied to clipboard

Metadata reports alpha as false, yet image has alpha channel

Open Grunthos opened this issue 7 years ago • 3 comments

When opened in Gimp, image has transparent areas, yet reader reports no alpha. Am I missing something?

Grunthos avatar Sep 27 '17 22:09 Grunthos

Ahhh...I think the image has no alpha it has a transparent colour defined

Grunthos avatar Sep 27 '17 22:09 Grunthos

Yep, needed to check for trans block. Would be really convenient if this was automatic.

Grunthos avatar Sep 28 '17 01:09 Grunthos

PNG supports transparency in several ways, https://stackoverflow.com/a/13570973/277304

I'm no sure this kind of intelligence belongs to this library, but I'll think it over

leonbloy avatar Aug 11 '19 19:08 leonbloy