If i change my iCloud account will the pictures in my library be deleted?

I keep getting an warning message that says any pictures not imported will be deleted from mac when I try to change iCloud account.
1. Can you not transfer the photos onto a USB drive or upload them to Dropbox or something?
2. If you're being asked to import the photos over to your new account, then do it.
3. Please read the information found via the following links:

Change your Apple ID - Apple Support

Manage your Apple ID primary, rescue, alternate, and notification email addresses - Apple Support

Original thread: https://forums.imore.com/threads/if-i-change-my-icloud-account-will-the-pictures-in-my-library-be-deleted.318724/