Skip to content

Commit

Permalink
slightly increase allowed loss for lossy, as pngqaunt 3 optimises more
Browse files Browse the repository at this point in the history
  • Loading branch information
toy committed Feb 26, 2025
1 parent 5532416 commit 308e12e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/image_optim_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def temp_copy(image)
base_options = {skip_missing_workers: false}
[
['lossless', base_options, 0],
['lossy', base_options.merge(allow_lossy: true), 0.001],
['lossy', base_options.merge(allow_lossy: true), 0.00101],
].each do |type, options, max_difference|
it "does it #{type}" do
image_optim = ImageOptim.new(options)
Expand Down

0 comments on commit 308e12e

Please sign in to comment.