Atmosfear writes: > - fprintf(me->fidx, " %06x", palette[i] & 0x00ffffff); > + fprintf(me->fidx, " %02x%02x%02x", palette[i]>>16 & 0x000000ff, > + palette[i]>>16 & 0x000000ff, palette[i]>>16 & 0x000000ff); What is that? You are replicating the Y part in the U & V... This can't be correct. Kim Minh.