Re: [FreeRDP-devel] pixel format detects

2022-09-14 Thread armin.novak--- via FreeRDP-devel
Hi, server side you tell the encoder the source format of the bitmaps? See shadow_client_send_surface_gfx for GFX, shadow_client_send_surface_bits for RFX and shadow_client_send_bitmap_update for bitmap update examples. regards Armin On 14.09.22 12:09, Andrey Af via FreeRDP-devel wrote:

Re: [FreeRDP-devel] pixel format detects

2022-09-14 Thread Andrey Af via FreeRDP-devel
Thanks for the answer, I looked at the source code freerdp-2.4, gdi_init is used only on the client side. But I'm changing the code for part of the server. What other solutions are there? ср, 14 сент. 2022 г. в 07:06, armin.novak--- via FreeRDP-devel : > > you don´t. > > you tell which format

Re: [FreeRDP-devel] pixel format detects

2022-09-14 Thread armin.novak--- via FreeRDP-devel
you don´t. you tell which format the client expects and the library will decode/convert to that. you do that with an argument at gdi_init regards Armin On 14.09.22 07:11, Andrey Af via FreeRDP-devel wrote: Hi all, How to correctly determine PIXEL_FORMAT from the server side for clients?