So i want to change the size of a PNG image (want to keep the transparency), but i'm getting a error because my palette gives a Null. I recognized that the palette flags changes every row. See the screenshots below:
Why does this happen and how te prevent it? Or am i doing something wrong?