[IPP] Raster compression

[IPP] Raster compression

Anton Thomasson antonthomasson at gmail.com
Thu Feb 26 18:19:44 UTC 2026


Hi

It seems highly unlikely that a printer would accept http-level
compression, but fail to advertise it for IPP playload.
These are very resource-constrained systems.
And how would you detect support?

The rasters already have a rudimentary RLE compression that is pretty
decent (~10:1) for text and graphics (but not photos).
With today's network speeds (or even those of 10+ years ago where many
printers seem to be stuck) you are already easily surpassing the physical
output of the printer.
Do you really need to go any faster?

The recommendation is to apply compression when supported.
Some printers do seem to perform better when receiving raster that is
gzipped or deflated as well - many don't seem to care.
Hopefully printers not supporting compression have a large enough buffer to
not get starved.

How large is large - and do you have any specific problems you are trying
to solve?

Br,
Anton


Den tors 26 feb. 2026 kl 10:41 skrev Holger Gräfe via ipp <ipp at pwg.org>:

> Hi Piotr,
>
> you may try whether compression on HTTP level via header field
> "Content-Encoding" is accepted by the device. There are various compression
> methods defined, e. g. "gzip". However, I'm not sure whether any of them is
> effective for arbitrary raster image data.
> You can find more details here:
> https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Content-Encoding
>
> Best regards,
> Holger
>
> *Gesendet: *Donnerstag, 26. Februar 2026 um 04:40
> *Von: *"Piotr Pawliczek via ipp" <ipp at pwg.org>
> *An: *"PWG IPP Workgroup" <ipp at pwg.org>
> *CC: *"Piotr Pawliczek" <pawliczek at google.com>
> *Betreff: *[IPP] Raster compression
>
> Hello Everyone,
>
> I am looking for guidance on the best approach for handling larger
> rasters. Specifically, what is the current recommended method for raster
> compression?
>
> There is a "compression-supported" IPP attribute that allows the client to
> apply compression to the IPP payload. However, for many printers this
> attribute contains only "none".
>
> I cannot find any reference to HTTP-level compression. Is it mentioned in
> any IPP document?
>
> Or is there any other way to deal with large rasters?
>
> I would appreciate any information.
>
> Best regards,
> Piotr
> _______________________________________________ ipp mailing list
> ipp at pwg.org https://www.pwg.org/mailman/listinfo/ipp
> _______________________________________________
> ipp mailing list
> ipp at pwg.org
> https://www.pwg.org/mailman/listinfo/ipp
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pwg.org/pipermail/ipp/attachments/20260226/aabb2193/attachment.html>


More information about the ipp mailing list