Segmentation Fault while Loading 8-bit windows bitmaps

Hi,

I am a newbee. Does the SDL Library supports 8-bit windows BMPs.Because the SDL_LoadBMP() Function gives a segmentation fault sometimes while loading the 8-bit bitmap.

Is there any solution for this problem.

Best Regards
Krishnan V R

Email: @Krishnan_VR

Does the SDL Library supports 8-bit windows BMPs.

Someone else will need to answer this. My guess would be that it does.

Because the SDL_LoadBMP() Function gives a segmentation fault sometimes
while loading the 8-bit bitmap.

Um… define “sometimes”? Is this on the same image, or different images?
If you can provide a minimal program that exhibits this behaviour then post
that to the list, and the smart folk here will be able to tell you if it’s
a bug in your program or a bug in SDL.

You might also want on consider trying SDL_Image, which also supports more
image formats than SDL itself does.

Also, what version of SDL are you using? If it’s an older version see if the
problem is fixed in the current release before posting.On Tue, 25 Dec 2001, krishnan wrote:


Mike.