[SDL] SV: Announcing SDL_image 1.0.5

Sam Lantinga slouken at devolution.com
Tue Apr 25 11:47:22 PDT 2000


> Circus Linux doesn't work with this new SDL_image library since it refuses
> to load circuslinux-data/images/status/enter-initials.png.

> The image fails in IMG_LoadPNG_RW() on the following test:

> if ( surface->pitch != png_get_rowbytes(png_ptr, info_ptr) ) {
>         IMG_SetError("SDL pitch didn't match PNG pitch");
>         SDL_FreeSurface(surface);
>         surface = NULL;
>         goto done;
> }

Can you send me the value of surface->w, surface->pitch, and 
png_get_rowbytes(png_ptr, info_ptr)?

Thanks,
	-Sam Lantinga, Lead Programmer, Loki Entertainment Software



More information about the SDL mailing list