LynnQ wrote: … When I was using iCloud to store my photos and the library was shared between my iPad, iPhone and iMac there were many times where duplicates would appear
This is one of the many problems that using iCloud Photos really helps with. Then all pictures go through iCloud to be shared, and multiple copies no longer occur like they do when just sending files around.
Another issue was that if I edited a photo in the iCloud shared library on my iPad then it would add an "E" into the photo's file name
Well, not really. Photos is a non-destructive editor. If you edit or crop a picture, maybe cutting off the sides, the original file is never touched. Instead, your edits are stored in the Photos Database. It's the same for every kind of edit, keyword, comment that you do-- the picture is not altered, but the information is stored in the Database. So the picture you see on the screen never existed as a file-- it is constructed on the fly from the original plus the information in the database. The edited picture doesn't become a file until you decide to send it somewhere, and then it still doesn't exist as a file inside of Photos. If you export the original and the edited version at the same time, then Photos adds an "E" to show the difference. If you import an edited picture that you've exported, then it is a different picture entirely. The thing is, the Photos database has way more information than just the picture file. Exporting and re-importing creates a file that has lost much of that information.
The way around this is to never re-import an edited picture. Again, iCloud takes care of this, because pictures shared through iCloud keep Photos' protocols, keeping an original file and edits in the Database.
I could keep only optimized sizes on my iPhone or iPad.
I'm a bit confused by that. "Optimize" is a word we associate with using iCloud to keep smaller sized "preview" style images on a device while keeping connected to full sized files at iCloud.com. Do you mean that you have created smaller resolution images for the phone? That's the same idea as iCloud's "Optimize," but without the ability to zoom in or edit.
I just want to keep the originals on my iMac.
That's what I do. I use iCloud, and I have "Download Originals" on my Mac, and I have "Optimize Storage" on my phone. I always see exactly the same pictures on both devices, and when I edit a picture on my Mac, the change immediately (more or less) shows up on the phone. For my use, then, the Master copies are kept on my Mac, mirrored to iCloud.com, and all other devices have virtual copies. Duplicates rarely happen.
While I think of it, perhaps you can help with this other problem. … The problem is that photos with either of these designation on them may be the same as one without either. Which is the best version to keep?
While I agree with Yer_Man that the size of the file is a good indicator, it can be misleading. It may be better to say the Picture size matters, where the size is measured in pixels, like 7230 × 4067 is better than 3615 x 2034 even if the sizes are the same. Picture files are compressed, sort of squishing out empty spaces, so it's possible for a better picture to be smaller. But that's relatively rare. I look at both the file size and the picture size (often called resolution, though it's not quite the same.)
At present I have the master library on my computer which is not shared.
I have several Photos Libraries on my Mac. Only the "Favorites" library is connected to iCloud.
Lastly. Where are iCloud shared photos actually stored? Are they centred in one location or spread across various locations?
With iCloud, everything you see is LOCAL. When I look at a picture on my Mac, I'm seeing a picture generated from the Original file and the Database, both of which are on my Mac (because I don't Optimize the Mac.) When I look at a picture on my Optimized iPhone, the picture is a preview size stored locally on the phone. If I want to zoom in, edit, or print the picture, the full sized file is retrieved from iCloud so that it is now local a the phone.
The Original files are at iCloud.com and on any device with "Download Originals" chosen. Some Originals are also local to some optimized devices.
How are you doing?