SFML community forums
Help => Graphics => Topic started by: pridefight on January 06, 2012, 07:34:01 am
-
this problem really drives me crazy, when i use the LoadFromFile method of the sf::Image class, i got the error: fail to load image, its internal size is too high(2048*2048).
let me explain this more clearly, yesterday i try to load a 1500*300 image, and it's OK, then i tried to load a a bigger pic, it failed, then i go back with the 1500*300 image, it shows the same error ,but different in that (2048,512), i really cant understand this sh*t, anybody can help me?
-
internal size is too high.
Maybe it means the resolution is too high / image is too big. Maybe too big for the gfx adapter ? I believe a gfx adapter has size (resolution) limits, there are tricks for this, or maybe the api has its own limits.
"internal size is too high"...is kind of broken English.
-
Some days ago I commited thor::BigTexture and thor::BigSprite in my library ;)
They can be used similar to sf::Texture and sf::Sprite, but cope with sizes larger than the graphics card limit. However they require SFML 2.