Original Post
Hi guys, SDL_image library provided IMG_load function that help load images. I loaded a bitmap 256x256 and compare with another load of 257x257. I saw the 257x257 bitmap does not render correctly (the image was distorted and unable to see). I thought the SDL_image resulted with SDL_surface with the array of internal pixels (SDL_surface->pixels) is an aligned image (with additional bytes padded at each row if the width % 4 != 0). Am I right?