david1982 Posted March 28, 2015 Report Share Posted March 28, 2015 Hello,I have got my sd card working under chibios (I can read and write).Now how do I display an bmp file that is on that sd card?I have the basics for displaying images down just don't know how to open image from the sd card.I will be grateful for any help.Thank you. Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted March 28, 2015 Report Share Posted March 28, 2015 Please have a look at the /demos/modules/gwin/imagebox/ demo. It does exactly what you want:wi.g.x = 10; wi.g.y = 10; wi.g.width = 200; wi.g.height = 100;ghImage1 = gwinImageCreate(0, &wi.g);gwinImageOpenFile(ghImage1, "myImage.bmp");~ Tectu Link to comment Share on other sites More sharing options...
david1982 Posted March 28, 2015 Author Report Share Posted March 28, 2015 I got it all working.Thank you very much. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now