Thanks I'll give it a shot. I can't save it to the disk for performance issues but I think the first one will work. I'm getting a crash when I try to draw it. Does this look valid?
selectedCard.Load(al_load_bitmap_f(al_open_memfile(chunk.memory, chunk.size, "w"), ""));
The Load function takes a parameter of ALLEGRO_BITMAP.