Skip to content

Commit

Permalink
pre-emptively swaps to the default strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
LemonInTheDark committed Nov 24, 2023
1 parent e182296 commit c432dc6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/icon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ impl Icon {
let color = new_png.color();
let encoder = png::PngEncoder::new_with_quality(
&mut dmi_data,
png::CompressionType::Best,
png::CompressionType::Default,
png::FilterType::Adaptive,
);
encoder.write_image(bytes, width, height, color)?;
Expand Down
Binary file modified tests/resources/save_test.dmi
Binary file not shown.

0 comments on commit c432dc6

Please sign in to comment.