[SDL] Any automatic way to show 32-bit images on a 256 colors PC?
Manuel García Cabrera
manugarciac5 at yahoo.com.ar
Tue Jun 5 07:53:38 PDT 2007
BTW, I don't have the actual image, I just have its pixel data.
Manuel García Cabrera escribió:
> When I have a 32-bit image on a 16-bit PC, simply calling
> SDL_CreateRGBSurfaceFrom (with 32 in its arguments) and then blitting it
> to my 16-bit screen seems to do the job just fine. Is there a similar
> way to do this with 256 colors? Or do I have to grab every pixel and
> asign a palette index to it manually?
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>
More information about the SDL
mailing list