Extract the alpha component form a 32-bit pixel format color. allegro game programming library.
#include <allegro.h>
int geta32(int c);
Given a color in a 32-bit pixel format, this function extracts the alpha component (ranging 0-255).
getr8(3alleg4)