Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Image is too large  (Read 2418 times)

0 Members and 1 Guest are viewing this topic.

t0rento

  • Newbie
  • *
  • Posts: 11
    • View Profile
Image is too large
« on: February 16, 2009, 10:32:54 am »
On some machines I get a error in the console "Error image is too large (1024x4320)" but on my own I do not.

What is the cause of this and how can I fix it?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Image is too large
« Reply #1 on: February 16, 2009, 12:52:37 pm »
This is a limitation of the OpenGL driver, I can't do much about it. You have to either scale down your image, or split it in several sub-images.
Laurent Gomila - SFML developer

t0rento

  • Newbie
  • *
  • Posts: 11
    • View Profile
Image is too large
« Reply #2 on: February 16, 2009, 01:14:52 pm »
Ah I see, so computers with an older OpenGL driver are going to have issues?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Image is too large
« Reply #3 on: February 16, 2009, 01:56:28 pm »
Absolutely. I think 1024x1024 should be the maximum for your images if you plan to make a program which is compatible with a wide range of graphics cards.
Laurent Gomila - SFML developer