Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Bug Reports / load image runtime error doesn't work for all image formats

Author
Message
Green Gandalf
VIP Member
19
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 26th Aug 2010 22:18
The load image command only gives a runtime error when an image file is missing if the extension is DDS, PNG or TGA. The other formats BMP, JPG and DIB all fail to give a runtime error and textured objects will be black.

Try the following in turn where "any.xxx" is not an image in your working directory:

load image "any.bmp", 1 ` runs without a runtime error
load image "any.dib", 1 ` runs without a runtime error
load image "any.jpg", 1 ` runs without a runtime error
load image "any.dds", 1 ` runs with the correct runtime error
load image "any.png", 1 ` runs with the correct runtime error
load image "any.tga", 1 ` runs with the correct runtime error
BMacZero
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 29th Aug 2010 03:48
Same result here.


Latest progress: Fog of War implemented; frustrated by pathfinding >.>

Login to post a reply

Server time is: 2024-03-28 22:55:43
Your offset time is: 2024-03-28 22:55:43