SDL_surface max width limit?

I’m trying to render a 3000600 pixels background image, but all i get is a black screen, but when i try 2000600 it’s works fine, i can see the image, it also doesn’t work for 2500 width images, any suggestions.
P.S: I tried rendering two 2000 width images one after another, but when i reach the second image coordinates, guess what “tha black screen again”.

Shouldn’t be any problem with rendering a surface of that size. maybe you can show your rendering code since there might be a problem with your code and not with your image.