Let 𝒞 be a finitely accessible additive category with products, and let (Ui)i∈I be a family of representative classes of finitely presented objects in 𝒞 such that each object Ui is pure-injective. We show that 𝒞 is a Krull–Schmidt category if and only if every pure epimorphic image of the objects Ui is pure-injective.