V5 Image Display Problems

So lately I’ve been trying to display an image on a v5 brain using an SD card to no avail. I’ve looked at many different forum posts and tried everything from converting files to optional declaration methods yet nothing seems to work. The screen just remains blank. Can anyone help me?

It’s pretty straightforward.
post your code and perhaps an example image you are trying to display.
You need to be using VEXcode, it’s not supported by VCS. or are you using something else like PROS ?

5 Likes

I am using VEXcode and this the code I’m using for testing:

#include "vex.h"

using namespace vex;

int main() {
    Brain.Screen.drawImageFromFile( "cube2.png", 0, 0 );
}

cube2

I have also tried it with .bmp and I’ve tried resizing to a smaller size

1 Like

works ok here.
cubetest

is vexos all up to date ? (1.0.9)

is the SD card formatted correctly ? (fat32)

4 Likes

It’s all up to date, but I don’t know how to format the SD

you would format on your Mac or PC as any other SD card, just make sure it’s fat32 format not something else.

5 Likes

So the only options it’s giving me for formatting are NTFS and exFAT (which is what it is now)

well, neither of those will work, are you on windows 10 ?

5 Likes

My favorite “force any SD card to format as FAT32” utility…

http://www.ridgecrop.demon.co.uk/index.htm?guiformat.htm

9 Likes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.