How do I restore my iPhone to its factory settings without losing all my pictures?

How do I restore my iPhone to its factory settings without losing all my pictures? - 1

You'd have to back them up beforehand before doing the restore.

Put all your pics, files, memos, etc. Onto your sd card. Back everything up to the cloud. Take out the sd card. Reset. Done.

Make a backup of your pictures. You can upload to iCloud or use a 3rd party cloud storage such as DropBox.

There isn't a feature to reset to factory settings while keeping your pictures. Making a backup of your pictures is the only way

Well that's kind of hard. Your phone didn't come with your pictures from the factory, right?

Make a backup of your pictures and then restore. There's no way to do a restore of the phone without loosing all data.