@@ -87,6 +87,11 @@ options are supported:
8787 - ptr
8888 - Pointer to a ``Filesystem::IOProxy `` that will handle the I/O, for
8989 example by reading from memory rather than the file system.
90+ * - ``oiio:ImageStateDefault ``
91+ - string
92+ - If ``scene `` or ``display ``, prefer to assign the image a scene or
93+ display referred ``oiio:ColorSpace ``. The default is ``display ``,
94+ while ``scene `` is more common for textures.
9095
9196**Configuration settings for BMP output **
9297
@@ -211,6 +216,11 @@ attributes are supported:
211216 - ptr
212217 - Pointer to a ``Filesystem::IOProxy `` that will handle the I/O, for
213218 example by reading from memory rather than the file system.
219+ * - ``oiio:ImageStateDefault ``
220+ - string
221+ - If ``scene `` or ``display ``, prefer to assign the image a scene or
222+ display referred ``oiio:ColorSpace ``. The default is ``display ``,
223+ while ``scene `` is more common for textures.
214224
215225Additionally, an integer ``dds:bc5normal `` global attribute is supported
216226to control behaviour of images compressed in BC5/ATI2 compression format.
@@ -294,6 +304,11 @@ options are supported:
294304 * - ``oiio:subimages ``
295305 - int
296306 - The number of "image elements" (subimages) in the file.
307+ * - ``oiio:ImageStateDefault ``
308+ - string
309+ - If ``scene `` or ``display ``, prefer to assign the image a scene or
310+ display referred ``oiio:ColorSpace ``. The default is ``display ``,
311+ while ``scene `` is more common for textures.
297312
298313
299314**Configuration settings for DPX output **
@@ -618,6 +633,11 @@ options are supported:
618633 - ptr
619634 - Pointer to a ``Filesystem::IOProxy `` that will handle the I/O, for
620635 example by reading from memory rather than the file system.
636+ * - ``oiio:ImageStateDefault ``
637+ - string
638+ - If ``scene `` or ``display ``, prefer to assign the image a scene or
639+ display referred ``oiio:ColorSpace ``. The default is ``display ``,
640+ while ``scene `` is more common for textures.
621641
622642**Configuration settings for GIF output **
623643
@@ -727,6 +747,11 @@ options are supported:
727747 orientation of the image). If this hint is set to 0, the pixels will be
728748 left in their orientation as stored in the file, and the "Orientation"
729749 metadata will reflect that.
750+ * - ``oiio:ImageStateDefault ``
751+ - string
752+ - If ``scene `` or ``display ``, prefer to assign the image a scene or
753+ display referred ``oiio:ColorSpace ``. The default is ``display ``,
754+ while ``scene `` is more common for textures.
730755
731756**Configuration settings for HDR output **
732757
@@ -807,6 +832,12 @@ attributes are supported:
807832 having Orientation 1). If zero, then libheif will not reorient the
808833 image and the Orientation metadata will be set to reflect the camera
809834 orientation.
835+ * - ``oiio:ImageStateDefault ``
836+ - string
837+ - If ``scene `` or ``display ``, prefer to assign the image a scene or
838+ display referred ``oiio:ColorSpace ``. The default is ``display ``,
839+ while ``scene `` is more common for textures.
840+
810841
811842**Configuration settings for HEIF output **
812843
@@ -871,6 +902,11 @@ attributes are supported:
871902 - ptr
872903 - Pointer to a ``Filesystem::IOProxy `` that will handle the I/O, for
873904 example by reading from memory rather than the file system.
905+ * - ``oiio:ImageStateDefault ``
906+ - string
907+ - If ``scene `` or ``display ``, prefer to assign the image a scene or
908+ display referred ``oiio:ColorSpace ``. The default is ``display ``,
909+ while ``scene `` is more common for textures.
874910
875911**Configuration settings for ICO output **
876912
@@ -947,6 +983,11 @@ options are supported:
947983 - ptr
948984 - Pointer to a ``Filesystem::IOProxy `` that will handle the I/O, for
949985 example by reading from memory rather than the file system.
986+ * - ``oiio:ImageStateDefault ``
987+ - string
988+ - If ``scene `` or ``display ``, prefer to assign the image a scene or
989+ display referred ``oiio:ColorSpace ``. The default is ``display ``,
990+ while ``scene `` is more common for textures.
950991
951992**Configuration settings for IFF output **
952993
@@ -1063,6 +1104,11 @@ attributes are supported:
10631104 - ptr
10641105 - Pointer to a ``Filesystem::IOProxy `` that will handle the I/O, for
10651106 example by reading from memory rather than the file system.
1107+ * - ``oiio:ImageStateDefault ``
1108+ - string
1109+ - If ``scene `` or ``display ``, prefer to assign the image a scene or
1110+ display referred ``oiio:ColorSpace ``. The default is ``display ``,
1111+ while ``scene `` is more common for textures.
10661112
10671113**Configuration settings for JPEG output **
10681114
@@ -1195,6 +1241,11 @@ attributes are supported:
11951241 - ptr
11961242 - Pointer to a ``Filesystem::IOProxy `` that will handle the I/O, for
11971243 example by reading from memory rather than the file system.
1244+ * - ``oiio:ImageStateDefault ``
1245+ - string
1246+ - If ``scene `` or ``display ``, prefer to assign the image a scene or
1247+ display referred ``oiio:ColorSpace ``. The default is ``display ``,
1248+ while ``scene `` is more common for textures.
11981249
11991250If OpenJPH is installed, the reader will attempt to read the file first with
12001251the OpenJPH library, and if that fails, it will fall back to the OpenJPEG library.
@@ -1302,6 +1353,11 @@ attributes are supported:
13021353 - ptr
13031354 - Pointer to a ``Filesystem::IOProxy `` that will handle the I/O, for
13041355 example by reading from memory rather than the file system.
1356+ * - ``oiio:ImageStateDefault ``
1357+ - string
1358+ - If ``scene `` or ``display ``, prefer to assign the image a scene or
1359+ display referred ``oiio:ColorSpace ``. The default is ``display ``,
1360+ while ``scene `` is more common for textures.
13051361
13061362**Configuration settings for JPEG XL output **
13071363
@@ -1837,6 +1893,11 @@ attributes are supported:
18371893 - ptr
18381894 - Pointer to a ``Filesystem::IOProxy `` that will handle the I/O, for
18391895 example by reading from memory rather than the file system.
1896+ * - ``oiio:ImageStateDefault ``
1897+ - string
1898+ - If ``scene `` or ``display ``, prefer to assign the image a scene or
1899+ display referred ``oiio:ColorSpace ``. The default is ``display ``,
1900+ while ``scene `` is more common for textures.
18401901 * - ``png:linear_premult ``
18411902 - int
18421903 - If nonzero, will convert or gamma-encoded values to linear color
@@ -2317,6 +2378,11 @@ options are supported:
23172378 initialization. This populates the image attributes which depend on the
23182379 pixel values.
23192380 (Default: 0)
2381+ * - ``oiio:ImageStateDefault ``
2382+ - string
2383+ - If ``scene `` or ``display ``, prefer to assign the image a scene or
2384+ display referred ``oiio:ColorSpace ``. The default is ``display ``,
2385+ while ``scene `` is more common for textures.
23202386
23212387|
23222388
@@ -2424,6 +2490,11 @@ options are supported:
24242490 - ptr
24252491 - Pointer to a ``Filesystem::IOProxy `` that will handle the I/O, for
24262492 example by reading from memory rather than the file system.
2493+ * - ``oiio:ImageStateDefault ``
2494+ - string
2495+ - If ``scene `` or ``display ``, prefer to assign the image a scene or
2496+ display referred ``oiio:ColorSpace ``. The default is ``display ``,
2497+ while ``scene `` is more common for textures.
24272498
24282499**Configuration settings for RLA output **
24292500
@@ -2674,6 +2745,11 @@ attributes are supported:
26742745 cause the reader to leave alpha unassociated (versus the default of
26752746 premultiplying color channels by alpha if the alpha channel is
26762747 unassociated).
2748+ * - ``oiio:ImageStateDefault ``
2749+ - string
2750+ - If ``scene `` or ``display ``, prefer to assign the image a scene or
2751+ display referred ``oiio:ColorSpace ``. The default is ``display ``,
2752+ while ``scene `` is more common for textures.
26772753
26782754**Configuration settings for Targa output **
26792755
@@ -2842,6 +2918,11 @@ options are supported:
28422918 - ptr
28432919 - Pointer to a ``Filesystem::IOProxy `` that will handle the I/O, for
28442920 example by reading from memory rather than the file system.
2921+ * - ``oiio:ImageStateDefault ``
2922+ - string
2923+ - If ``scene `` or ``display ``, prefer to assign the image a scene or
2924+ display referred ``oiio:ColorSpace ``. The default is ``display ``,
2925+ while ``scene `` is more common for textures.
28452926
28462927**Configuration settings for TIFF output **
28472928
@@ -3152,6 +3233,11 @@ attributes are supported:
31523233 - If nonzero, will leave alpha unassociated (versus the default of
31533234 premultiplying color channels by alpha if the alpha channel is
31543235 unassociated).
3236+ * - ``oiio:ImageStateDefault ``
3237+ - string
3238+ - If ``scene `` or ``display ``, prefer to assign the image a scene or
3239+ display referred ``oiio:ColorSpace ``. The default is ``display ``,
3240+ while ``scene `` is more common for textures.
31553241
31563242**Configuration settings for WebP output **
31573243
0 commit comments