Trying to explain better.
An image is just an array of bytes (like any other file).

How can I get the image below

How to place an icon in a window?-gfgpgm2-png

and turn it into this

Code:
   // My Image
   int image[13][13] = {
   { 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15 },
   { 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31 },
   { 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47 },
   { 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63 },
   { 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79 },
   { 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95 },
   { 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, 111 },
   { 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127 },
   { 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143 },
   { 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159 },
   { 175, 175, 175, 175, 175, 175, 175, 175, 175, 175, 175, 175, 175 },
   { 191, 191, 191, 191, 191, 191, 191, 191, 191, 191, 191, 191, 191 },
   { 207, 207, 207, 207, 207, 207, 207, 207, 207, 207, 207, 207, 207 }};
The Code above is exactly the picture shown!
It doesn't have to be exactly an int var
It can be any type of variable, but it can be written in the code as I showed