On Tue, Jul 24, 2018, 07:06 m99 <[email protected]> wrote:

> Thanks!  We wanted the ability to inspect/process the image from the frame
> buffer before it reached guacamole


What do you mean by this? Inspect/process it how? For what purpose?

and enforce a lossy compression on the
> image before reaching guacamole.


Not recommended - see below.

However if full frame buffer updates
> aren't possible, would it instead be possible to have guacamole always
> force
> jpeg lossy compression on all frame buffer images/updates?
>

How does this relate to your need for full-frame updates?


> I was looking at the guacamole code and it appears changing
> /src/common/surface.c in the __guac_common_surface_flush method to always
> call _guac_common_surface_flush_to_jpeg might do what we wanted to always
> guaranteed jpeg encoding.   I couldn't find any configuration settings in
> guacamole to enforce jpeg encoding all the time, so this would have to be a
> code change to guacamole?
>

I would not recommend this. Some types of images do not compress well with
JPEG, and forcing JPEG for all updates will lead to reduced performance.
Guacamole already tries to detect when JPEG / WebP are more appropriate
based on content and update frequency.

- Mike

Reply via email to