Skip to content

Commit

Permalink
merging is hard.
Browse files Browse the repository at this point in the history
fix bug introduced by previous commit
  • Loading branch information
s3bk committed Nov 23, 2023
1 parent adc85a8 commit cb0b900
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdf/src/object/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ impl ImageXObject {
data
}
StreamFilter::DCTDecode(ref p) => dct_decode(&data, p)?,
StreamFilter::JPXDecode => jpx_decode(&data)?, params)?,
StreamFilter::JPXDecode => jpx_decode(&data)?,
StreamFilter::JBIG2Decode(ref p) => {
let global_data = p.globals.as_ref().map(|s| s.data(resolve)).transpose()?;
jbig2_decode(&data, global_data.as_deref().unwrap_or_default())?
Expand Down

0 comments on commit cb0b900

Please sign in to comment.