code: def setSizeMetadata(self, size):
      
      assert((self.needMetadataUpdate(CoverImageMetadata.SIZE)) or
             (self.size == size))
      self.size = size
      self.check_metadata &= ~CoverImageMetadata.SIZE
docs: Set size image metadata to what has been reliably identified.