I need to transfer frames of desktop image data over the network, that were captured with Desktop Duplication API, but there is one problem: size of raw frame data, in FullHD with DXGI_FORMAT_B8G8R8A8_UNORM format, approximatly equal to 8 MB, that too large size, especially for one frame.
Is there something good method to compress the frame, of desktop image, data from D3D11_MAPPED_SUBRESOURCE and get the size at least in KB? Maybe some kind of conversion from bmp to jpeg?
I've already tried LZ4 compression, with LZ4_compress_default method, and got byte array with 3.4 MB size, that is still too much for frame.