Blender Git Loki

Git Commits -> Revision e42609d

Revision e42609d by Bastien Montagne (master)
July 3, 2015, 16:30 (GMT)
Fix T45283: Blender crashes on some grayscale PNGs with alpha.

PNG_COLOR_TYPE_GRAY colortype can have some values for alpha, in the same way as
PNG_COLOR_TYPE_PALETTE colortype.

In this case, we need two channels (grayscale and alpha), not one.

Commit Details:

Full Hash: e42609db49b5ececb989167f5e1c14e5cff4ce4d
Parent Commit: 97b431e
Lines Changed: +4, -0

1 Modified Path:

/source/blender/imbuf/intern/png.c (+4, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021