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.

DarkBASIC Professional Discussion / [LOCKED] What can cause an 'Unknown Image' error?

Author
Message
Scraggle
Moderator
22
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 28th Apr 2012 22:21 Edited at: 28th Apr 2012 22:34
I am getting an 'Unknown Image' error for an image that exists. Anyone know what else can cause this error message.

This line causes the error:


And I can confirm that the image exists because if I put the following line before it, the code ends without error.


Any suggestions?

[Fixed] I had used a GUI plugin to load an image. Doing that changed the current directory and there was no media folder in that directory. A misleading error message but an easy fix.
JLMoondog
Moderator
17
Years of Service
User Offline
Joined: 18th Jan 2009
Location: Paradox
Posted: 29th Apr 2012 01:53 Edited at: 29th Apr 2012 01:54
It all depends on how your using this variable:



Where is it getting it's value and how did you declare it?

Edit: oops, sorry. Didn't' see you fixed your own problem.

Login to post a reply

Server time is: 2026-07-08 12:25:34
Your offset time is: 2026-07-08 12:25:34