Crate cloudflare_soos

Source
Expand description

Scans a progressive JPEG file to find which byte ranges of the file are critical for displaying it at key stages. This knowledge can be used to serve JPEGs optimally over HTTP/2 connections. This library can generate cf-priority-change headers compatible with prioritization syntax used by Cloudflare.

Modules§

jpeg
For advanced usage, low-level access to the basic JPEG structure

Structs§

Scans
Key positions in a progressive image file

Enums§

Error
Errors that can occur while decoding a JPEG image.

Type Aliases§

Result