Hi again, and a reply to your other post.
A jpg file can contain colour profile information in up to three places. (1) The EXIF segment, (2) An Adobe EXIF copy segment, and (3) in a specific colour profile segment. In general, we would expect any use of Adobe software to maintain (1) and (2) identical, but it is easy to see that colour management by one piece of software can give a different result from another if they read the profile data from different places. That is additional to what may happen if the software finds no profile data at all, when it is supposed to assume sRGB but may do nothing.
The implementation of colour management by different browsers has evolved over the years and there are still definite differences between them. By and large, modern browsers will manage the conversion from AdobeRGB and ProPhotoRGB, but none will manage grayscale profiles, and they vary in handling images with no profile at all.
I have just checked a couple of my own image files as my source and as Nextgen loaded. There is a reservation because I always preprocess my image files using FastStone Viewer to be the size I want them shown in the NG Gallery, and I have NG set to not resize anything. Therefore NG may not process my images on upload the same way as for other users.
In Explorer my pre-upload images flag as being in sRGB as I would expect from my workflow. On analysis, they have an APP1-EXIF segment and an APP13-Adobe EXIF copy segment, but no specific profile segment. After upload to NG, the image files are identical in every respect: size and contents. Specifically, NG did not strip EXIF data or even minimise it. Some EXIF is always required in order to decode the image segment. What I cannot tell is what NG does to a jpg file if it does have to process it during upload eg, for display size.
I would say it is undesirable to load images in any profile other than sRGB. It is not what your own browser may do, the internet is viewed by everybody and it’s what another viewer’s browser may do. That is quite separate from the merits of other colour spaces for other purposes. There is a reason for using 16-bit data in ProPhotoRGB (or Lightroom Melissa) for editing. There is a reason for not doing that for web publishing.