Abstract: Compounds containing at least 5 mol % of structural units of the formulae I and/or II ##STR1## in which Q is an unsubstituted or substituted tetravalent aromatic radical to which in each case two carbonyl groups are bonded in the ortho- or peri-position, R.sup.1 is selected from the radicals of the formulae III, IV and V ##STR2## R.sup.2, R.sup.3, R.sup.4 and R.sup.5 are hydrogen, alkyl, cycloalkyl or substituted or unsubstituted aryl or aralkyl, R.sup.6 and R.sup.7 are aryl or halogen, m and n are 0, 1 or 2 and o is 0, 1, 2, 3 or 4, are described.The compounds are distinguished by an increased resistance to oxidation by heat. They can be used to produce coatings and relief structures.