These are instruction on how to put any image onto an MFD using my vizzy program from this post:

A few people have asked me, so here I’m going to explain how to use my code to put pretty much any image you want onto an MFD. It’s not a video, but hopefully all the screenshots help. Please read all the steps before starting, there are lots of parts.

If you try this out, please let me know how it goes in the comments, or if you have any questions/if something in unclear. Hopefully someone finds this useful :).

Before we start:

This requires XML editing (Overload doesn’t count!) If you don’t know how to do this, check out this video (not by me) first. It’s for mobile, but I assume the process is similar on a computer. Note that we will be going into the flight programs folder, not the craft design folder.
You should also download the craft linked above and save the program, because that is what we will be using for this process.

Step 1 - Get pixel data

First, choose your image. It will be easiest if it you crop it to be perfectly square. Then go to this website to extract the pixel values. Upload your image and make sure it is in RGB mode. This means it will give you 3 values (red, green, blue) for each pixel. If you have a large image (more than 200x200px), you should also adjust the Delta X and Delta Y, so you don’t have an insane amount of data. I set the delta to 4, so my final image will be 125px x 125px instead of 500x500. Make sure your final image is under 256x256 pixels, I would recommend around 100x100 pixels, unless you need really good quality. Just be aware that the more pixels you have, the more numbers you will have to move, and the longer your image will take to generate on the MFD.
image

Step 2 - Copy Pixel data

Now you need to copy ALL that pixel data from the box at the bottom. It will be a lot. Then you should paste it into some program that can do find and replace, I recommend google sheets.
It will be a lot of numbers. You can also confirm the resolution of your image, you can see a couple images below there are 125 lines, so it will be 125x125px. This will be important later on.
image

Step 3 - Commas!

Our goal is to eventually put this data into a vizzy program in the form of a list. Vizzy list need items to be separated by commas. Right now there are spaces between each number, so we will use find and replace to quickly replace all the spaces with commas.
image
Now all the spaces should be replaced with commas. BUT WAIT! There were no spaces at the end of each line, so there still aren’t commas there. We’ll get to that step in a few minutes.

Step 4 - move to vizzy

Copy your new data with commas. It should all be stored in the first column, so just highlight and copy that.
image
Now we are going to go into the XML because vizzy won’t normally let us paste anything over 100 characters into one place. First go into the vizzy program and get rid of the old data and replace it with something easy to recognize such as “PASTE DATA HERE”.
image
Then save the program. Now its XML time! If you don’t know how to access and edit xml files (overload doesn’t count), come back when you do. Check out the video at the top of this post for an awesome XML tutorial.

Step 5 - XML

Find and open your flight program xml. Look for your “PASTE DATA HERE” note.
image
See how there are no commas after each line? Just go add them now. It really only takes a couple minutes. Make sure you don’t miss any or it will be messed up.
image

Step 6 - Load and test

Close out of your XML file and go back into the game and reload your program into the craft from the load programs menu. You should be able to see your data in Vizzy now. Now we need to make sure the program knows the size of your image. Set these number to one less than the amount of pixels in your image (because pixel count starts at zero). If you forgot the size, go check how many rows your spreadsheet has. Now, save it to the craft and test it out!
image

Troubleshooting/Common errors

image

Weirdly slanted/stretched/messed up image (top half of MFD example)

This is cause be incorrectly inputting the length of your row in the vizzy. Go double check that, try decreasing it by 1.

Weird colors that definitely shouldn’t be in the image (bottom half of MFD example)

This is caused when the vizzy uses the RGB values out of order. This most likely means you forgot a comma at the end of line. Got check the xml for commas.

I think that’s everything. If something seems unclear, just ask me in the comments. Also lmk if you make something, I want to see :).

11 Comments

  • Log in to leave a comment
  • Profile image
    1,050 Goldenguy

    29 137 195 29 137 195 31 138 198 31 138 198 26 138 200 26 138 200 25 137 201 25 137 201 18 136 201 18 136 201 18 136 203 16 135 202 17 135 204 19 136 205 21 137 206 23 138 207 26 138 212 26 138 212 26 138 212 24 137 211 24 137 209 22 136 208 21 137 206 21 137 206 18 136 203 18 136 203 18 136 201 18 136 201 18 136 201 18 136 201 17 137 199 17 137 199 18 136 201 18 136 201 18 136 201 18 136 201 20 137 203 20 137 203 20 137 203 20 137 203 20 137 203 20 137 203 20 137 203 20 137 203 20 137 203 20 137 203 20 137 203 20 137 203 20 137 203 20 137 203 20 137 203 20 137 203 20 137 203 20 137 203 20 137 203 20 137 203 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 203 18 136 203 18 136 203 18 136 203 18 136 203 18 136 203 18 136 203 18 136 203 16 135 202 18 136 203 18 136 203 18 136 203 20 137 204 18 136 203 20 137 204 20 137 204 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 15 135 200 15 135 200 15 135 200 18 136 201 20 137 203 20 137 203 20 137 203 20 137 203 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 18 136 201 9 137 201 9 137 201 18 136,201,18,136,201,9,137,201,9,137,201,83,126,161

    2.4 years ago
  • Profile image
    1,050 Goldenguy

    Thats confusing can you just do it forme

    2.4 years ago
  • Profile image
    43.2k goz

    Great job simplifying the process. Mine is still way too complex and requires Excel (because I don’t know how to program python or powershell). I like yours too because it preserves the original colors; mine relies on posterizing to reduce file size, but this seems to load just as quickly.

    +1 2.9 years ago
  • Profile image
    4,792 DragonTech

    uhh i think im just gonna ask u to help me

    +1 3.1 years ago
  • Profile image
    7,441 Hannah1212

    You might be waiting a while, but that would be cool @jrzspace

    3.1 years ago
  • Profile image
    1,161 jrzspace

    Maybe I'll just wait for an update where you can add the image part.

    +1 3.1 years ago
  • Profile image
    7,441 Hannah1212

    Yeah that can happen... another reason not to have too many pixels. @zzazza

    3.1 years ago
  • Profile image
    13.7k Vedhaspace

    very nice 👍

    3.1 years ago
  • Profile image
    2,527 zzazza

    My browser nearly crashed when I tried to copy all the pixal data at once from that website.

    3.1 years ago
  • Profile image

    Proceeds to type in the pixel values by hand

    +2 3.1 years ago
  • Profile image

    Thanks

    3.1 years ago

24 Upvotes

Log in in to upvote this post.