Call the load_bitmap function

Then Listing 2 calls the load_bitmap function:

Palette information

The second parameter required by the load_bitmap function involves palette information.

This information is needed for images with low color depth.

Not needed for a color depth of 32

Listing 2 passes null as second parameter.