Skip to main content

hash_responsive_params

Function hash_responsive_params 

Source
pub fn hash_responsive_params(target_width: u32, quality: u32) -> String
Expand description

SHA-256 hash of encoding parameters for a responsive variant.

Inputs: target width and quality. If any of these change, the previously cached output is invalid.