color | a BGR color vector to receive the pixel colors, or NULL for returning a temporary vector. |
alpha | a variable pointer to receive the pixel transparency, or NULL. |
format | the pixel format: 88, 565, 888, 1555, 4444, or 8888. |
pixel | the pixel to be converted. |
pixel_to_vec(temp,alpha,8888,pixel);