Failed to load image!
See original GitHub issueSo, i want to draw a simple
And its saying this:
There is my code: `` using Raylib_cs;
namespace test { class Program { static void Main(string[] args) { Raylib.InitWindow(800, 480, “Hello World”);
Image image = Raylib.LoadImage("assets/textures_image_loading.bmp");
Texture2D texture = Raylib.LoadTextureFromImage(image);
Raylib.UnloadImage(image);
while (!Raylib.WindowShouldClose())
{
Raylib.BeginDrawing();
Raylib.ClearBackground(Color.WHITE);
Raylib.DrawTexture(texture, texture.width, texture.height, Color.WHITE);
Raylib.DrawText("Hello, world!", 12, 12, 20, Color.BLACK);
Raylib.EndDrawing();
}
Raylib.CloseWindow();
}
}
}
``
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Failed to load image · Issue #8701 · snipe/snipe-it
After updating to v5.0.4 from v4.9.5, all the images - including favicon and logo fail to load. When you upload a new image...
Read more >Failed to load images and attached images in Jira ticket
Hi community, I have experienced the "failed to load image" issue, searched around and advised that I should set personal setting to get....
Read more >Failed to load image on mobile : r/discordapp
So all the image on any of my server can't be loaded on mobile, but it does load on my PC with the...
Read more >How To Fix "Failed To Load Photo In SD Card" Error?
How To Fix “Failed To Load Photo In SD Card” Error? · Check SD Card Connection · Use Anti-virus Software · Check Compatibility...
Read more >Failed to load image with PTD2D. - photools.com
I have just checked the HEIF/HEIC images files (about 50, from different devices and users) in my sample library. Some files fail to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Then it most likely failing to find the file. By default it loads from the output directory so try putting the assets folder in there and see if it finds it.
Its works! 😃