Skip to content

Commit

Permalink
jxl-render: Fix incorrect upsampling factor when using higher-level L…
Browse files Browse the repository at this point in the history
…F frame (#412)
  • Loading branch information
tirr-c authored Jan 25, 2025
1 parent 65fc18e commit 816f7d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/jxl-render/src/render.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ pub(crate) fn render_frame<S: Sample>(
(Err(e), Some(lf)) if e.unexpected_eof() => {
let render = lf.image.run_with_image()?;
let render = render.blend(None, &pool)?;
render.upsample_lf(lf.frame.header().lf_level)?
render.upsample_lf(1)?
}
(Err(e), _) => return Err(e),
}
Expand Down

0 comments on commit 816f7d5

Please sign in to comment.