bject.</p></li>
<li><p><strong>ValueError</strong>:
If the input image surface is not compatible with the conversion (e.g., if the surface does not support 24-bit or 32-bit color formats).</p></li>
</ul>
<p><strong>Notes</strong>:</p>
<ul class="simple">
<li><p>The function processes the pixel data in-place, meaning the original image surface is directly modified.</p></li>
<li><p>You can choose to include any combination of the Y, I, and Q components based on the flags <cite>include_y</cite>, <cite>i