Vitaliy Sugrobov <vsugrob <at> hotmail.com> writes: > - for(; i < 256; i++) > - s->image_palette[i] = (0xffu << 24); > - /* handle transparency */ > - if (s->transparent_color_index >= 0) > - s->image_palette[s->transparent_color_index] = 0; Is transparency still working if you remove this? Carl Eugen