High-intensity x-ray pulses from an x-ray free-electron laser are used to heat and probe a solid-density aluminum sample. The photon-energy-dependent transmission of the heating beam is studied through the use of a photodiode. Saturable absorption is observed, with the resulting transmission differing significantly from the cold case, in good agreement with atomic-kinetics simulations.