jimp-dev / gifwrap

A Jimp-compatible library for working with GIFs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Change transparency from alpha != 255 to alpha == 0

jtlapp opened this issue · comments

I'm noticing that color processing packages have to treat anything with non-zero alpha as if it were colored. gifwrap currently only treats 0xFF alpha as colored.

To be consistent with other packages, so that less effort is needed to convert gifwrap images to formats needed by other packages, I'll need to make this change.

It'll be a breaking change for anyone using any alpha value other than 0x00 and 0xFF.

Implemented in v0.7.