pub fn needs_reencode(
format: PhotoFormat,
fits: bool,
strip_metadata: bool,
has_metadata: bool,
) -> boolExpand description
ADR-0045 rule: the original passes through untouched only when the format is Original, it fits
both limits, and there is no metadata to strip.