I can make it work via creating the bitmap and saving it to a file. (The bitmap is a barcode). Afterwards loading it into the TImage via ppimage1.Picture.LoadFromFile(filepath);
With this way of doing it, you have to create and delete a temp directory for your image. I'd rather not do this if possible...