They could contain arbitrary code... But typically do not. That means that with the right viewer application it will be trivial to know for sure.
It isn't like a multi gigabyte game for example, where knowing if there is any malicious code could easily be a multi-month reverse engineering project to get to the answer of 'probably not, but we don't have time to check every byte with a fine tooth comb'