The examination of paintings by digital image analysis