Saving images would reset th* Respect the image file color space to the default for the file type. Thissetitng for saving in various cases where
makes sense when saving for example an EXR file as PNG, or vice versa it was previously ignored. HoweverPreviously it would often use the sRGB or Linear
this should not happen when changing the color space and saving again to the color space even when not selected.
same file type.
Now only change the c* For the Save As operator, add a Colorspace when saving to another Space option in the file type with abrowser to
different default color space choose the color space of the file. Previously this was chosen automatically,
now it's possible to e.g. resave a Linear image as Linear ACES.
* When changing the file format, the colorspace is automatically changed to an
appropriate color space for the file format. This already happened before, but
there was no visibility or control in the operator settings for this.
* Don't change color space when using the Save operator to save over the same
file.
* Fix missing color space conversion for 16 bit PNGs, where it assumed wrongly
assumed ibuf->rect would be used for saving. Add BKE_image_format_is_byte to
more accurately test this.