xx_image_capture_color_management_v1 ↗
Copyright
Copyright © 2025-2026 Julian Orth Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice (including the next paragraph) shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- xx_image_capture_color_manager_v1 — global to add color-management support for image captures
- xx_image_capture_source_colors_v1 — capture source color properties
image-copy-capture extension to support color management
This protocol provides extensions to the ext-image-capture-source-v1 and ext-image-copy-capture-v1 protocols to allow clients to capture frames in color spaces other than srgb/gamma22.
Warning! The protocol described in this file is currently in the experimental phase. Backwards incompatible major versions of the protocol are to be expected. Exposing this protocol without an opt-in mechanism is discouraged.
xx_image_capture_color_management_v1
xx_image_capture_color_manager_v1
- error
- destroy — destroy this object
- get_capture_source_colors — create a color management interface for an ext_image_capture_source_v1
- set_frame_image_description — set the image description of a frame
global to add color-management support for image captures
This global allows clients to retrieve information about the preferred image description of a capture source and to define the image description of a capture frame.
xx_image_capture_color_management_v1
xx_image_capture_source_colors_v1
- destroy — destroys this object
- get_preferred — retrieve the preferred description
- preferred_changed — the preferred image description changed
capture source color properties
This object describes the color properties of a capture source.
The xx_image_capture_source_colors_v1 is associated with the compositor object backing the source. Therefore the client destroying the ext_image_capture_source_v1 object has no impact. The object becomes inert when the compositor object backing the source is destroyed. How the client can detect this depends on the source.