In principle, any known compounds may be employed as polyimides (A) containing groups of formula I. D is preferably a radical of the formula --CR???CR'--, ##STR3## wherein h is 0 or 1 and each of R and R' independently of the other is a hydrogen or chlorine atom or a methyl group.